PHP Class Neos\Flow\Validation\Validator\NotEmptyValidator

Inheritance: extends AbstractValidator
Show file Open project: neos/flow-development-collection Class Usage Examples

Protected Properties

Property Type Description
$acceptsEmptyValues boolean See AbstractValidator::validate()

Protected Methods

Method Description
isValid ( mixed $value ) : void Checks if the given value is not empty (NULL, empty string, empty array or empty object that implements the Countable interface).

Method Details

isValid() protected method

Checks if the given value is not empty (NULL, empty string, empty array or empty object that implements the Countable interface).
protected isValid ( mixed $value ) : void
$value mixed The value that should be validated
return void

Property Details

$acceptsEmptyValues protected property

See AbstractValidator::validate()
protected bool $acceptsEmptyValues
return boolean