PHP Class Neos\Flow\Validation\Validator\NotEmptyValidator

Inheritance: extends AbstractValidator
Afficher le fichier Open project: neos/flow-development-collection Class Usage Examples

Protected Properties

Свойство Type Description
$acceptsEmptyValues boolean See AbstractValidator::validate()

Méthodes protégées

Méthode 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 méthode

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
Résultat void

Property Details

$acceptsEmptyValues protected_oe property

See AbstractValidator::validate()
protected bool $acceptsEmptyValues
Résultat boolean