Свойство | Тип | Описание | |
---|---|---|---|
$options | array | ||
$supportedOptions | array | This contains the supported options, their default values and descriptions. | |
$validatedInstancesContainer | SplObjectStorage | ||
$validators | SplObjectStorage |
Метод | Описание | |
---|---|---|
__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 |
Результат | void |
public getOptions ( ) : array | ||
Результат | array |
public getValidators ( ) : SplObjectStorage | ||
Результат | 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 |
Результат | void |
protected array $supportedOptions | ||
Результат | array |
protected SplObjectStorage $validatedInstancesContainer | ||
Результат | SplObjectStorage |