Grammars
in package
FinalYes
The validator's grammars for the values of the model: a value object accepts exactly what the validator finds valid, without warnings.
Table of Contents
Methods
- isAge() : bool
- isDate() : bool
- A DateValue (7.0) or DATE_VALUE (5.x).
- isLatitude() : bool
- isLongitude() : bool
Methods
isAge()
public
static isAge(Version $version, string $value) : bool
Parameters
- $version : Version
- $value : string
Return values
boolisDate()
A DateValue (7.0) or DATE_VALUE (5.x).
public
static isDate(Version $version, string $value) : bool
Parameters
- $version : Version
- $value : string
Return values
boolisLatitude()
public
static isLatitude(Version $version, string $value) : bool
Parameters
- $version : Version
- $value : string
Return values
boolisLongitude()
public
static isLongitude(Version $version, string $value) : bool
Parameters
- $version : Version
- $value : string