PHP Class Neos\Flow\Validation\Validator\DateTimeRangeValidator

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

Protected Properties

Свойство Type Description
$supportedOptions array

Méthodes protégées

Méthode Description
isValid ( mixed $dateTime ) : void Adds errors if the given DateTime does not match the set boundaries.
parseReferenceDate ( string $referenceDateString ) : DateTime Calculates a DateTime object from a given Time interval

Method Details

isValid() protected méthode

latestDate and earliestDate may be each
protected isValid ( mixed $dateTime ) : void
$dateTime mixed The DateTime value that should be validated
Résultat void

parseReferenceDate() protected méthode

Calculates a DateTime object from a given Time interval
See also: isValid()
protected parseReferenceDate ( string $referenceDateString ) : DateTime
$referenceDateString string being one of
Résultat DateTime

Property Details

$supportedOptions protected_oe property

protected array $supportedOptions
Résultat array