Property | Type | Description | |
---|---|---|---|
$options | array | ||
$supportedOptions | array | This contains the supported options, their default values and descriptions. | |
$validatedInstancesContainer | SplObjectStorage | ||
$validators | SplObjectStorage |
Method | Description | |
---|---|---|
__construct ( array $options = [] ) | Constructs the composite validator and sets validation options | |
addValidator ( Neos\Flow\Validation\Validator\ValidatorInterface $validator ) : void | Adds a new validator to the conjunction. | |
count ( ) : integer | Returns the number of validators contained in this conjunction. | |
getOptions ( ) : array | Returns the options for this validator | |
getValidators ( ) : SplObjectStorage | Returns the child validators of this Composite Validator | |
removeValidator ( Neos\Flow\Validation\Validator\ValidatorInterface $validator ) | Removes the specified validator. | |
setValidatedInstancesContainer ( SplObjectStorage $validatedInstancesContainer ) : void | Allows to set a container to keep track of validated instances. |
public __construct ( array $options = [] ) | ||
$options | array | Options for the validator |
public addValidator ( Neos\Flow\Validation\Validator\ValidatorInterface $validator ) : void | ||
$validator | Neos\Flow\Validation\Validator\ValidatorInterface | The validator that should be added |
return | void |
public getOptions ( ) : array | ||
return | array |
public getValidators ( ) : SplObjectStorage | ||
return | SplObjectStorage |
public removeValidator ( Neos\Flow\Validation\Validator\ValidatorInterface $validator ) | ||
$validator | Neos\Flow\Validation\Validator\ValidatorInterface | The validator to remove |
public setValidatedInstancesContainer ( SplObjectStorage $validatedInstancesContainer ) : void | ||
$validatedInstancesContainer | SplObjectStorage | A container to keep track of validated instances |
return | void |
protected array $supportedOptions | ||
return | array |
protected SplObjectStorage $validatedInstancesContainer | ||
return | SplObjectStorage |