Метод | Описание | |
---|---|---|
__construct ( Jyxo\Input\ValidatorInterface $validator = null ) | Sets the condition validator. | |
isValid ( mixed $value ) : boolean | Validates a value. | |
setCondValidator ( Jyxo\Input\ValidatorInterface $validator ) : self | Sets the condition validator. |
Метод | Описание | |
---|---|---|
checkCondition ( mixed $value ) : boolean | Checks if the condition is fulfilled. |
public __construct ( Jyxo\Input\ValidatorInterface $validator = null ) | ||
$validator | Jyxo\Input\ValidatorInterface |
public setCondValidator ( Jyxo\Input\ValidatorInterface $validator ) : self | ||
$validator | Jyxo\Input\ValidatorInterface | Condition validator |
Результат | self |