프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$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 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 |