ObjectStorageElementValidatorInterface

Marker interface for validators that operate on individual elements of a collection rather than on the collection itself.

When ProcessingRule encounters an ObjectStorage value, validators are by default called with the whole collection (preserving backwards compatibility). Validators implementing this interface are called once per element instead.

Example: A MimeTypeValidator validates each file individually, while a CountValidator checks the total number of items in the collection.

Table of Contents


        
On this page

Search results