‪TYPO3CMS  ‪main
TYPO3\CMS\Extbase\Validation\Validator\ObjectValidatorInterface Interface Reference
Inheritance diagram for TYPO3\CMS\Extbase\Validation\Validator\ObjectValidatorInterface:
TYPO3\CMS\Extbase\Validation\Validator\ValidatorInterface TYPO3\CMS\Extbase\Validation\Validator\AbstractCompositeValidator TYPO3\CMS\Extbase\Validation\Validator\AbstractGenericObjectValidator TYPO3\CMS\Extbase\Tests\Unit\Validation\Validator\Fixture\AbstractCompositeValidatorClass TYPO3\CMS\Extbase\Validation\Validator\ConjunctionValidator TYPO3\CMS\Extbase\Validation\Validator\DisjunctionValidator TYPO3\CMS\Extbase\Validation\Validator\CollectionValidator TYPO3\CMS\Extbase\Validation\Validator\GenericObjectValidator

Public Member Functions

 setValidatedInstancesContainer (\SplObjectStorage $validatedInstancesContainer)
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Extbase\Validation\Validator\ValidatorInterface
 validate (mixed $value)
 
 setOptions (array $options)
 
 getOptions ()
 

Detailed Description

Contract for a validator

Definition at line 23 of file ObjectValidatorInterface.php.

Member Function Documentation

◆ setValidatedInstancesContainer()

TYPO3\CMS\Extbase\Validation\Validator\ObjectValidatorInterface::setValidatedInstancesContainer ( \SplObjectStorage  $validatedInstancesContainer)

Allows to set a container to keep track of validated instances.

Parameters
\SplObjectStorage$validatedInstancesContainer‪A container to keep track of validated instances

Implemented in TYPO3\CMS\Extbase\Validation\Validator\AbstractGenericObjectValidator, and TYPO3\CMS\Extbase\Validation\Validator\AbstractCompositeValidator.