Ubiquity 2.5.2
php rapid development framework
|
Public Member Functions | |
__construct (string $type, null|string|array $constraints=['ref'=> false], ?string $message=null, ?string $severity=null, ?string $group=null) | |
Validator constructor. | |
asAnnotation () | |
Public Member Functions inherited from BaseAttribute | |
__construct () | |
getNamespace () | |
__toString () | |
Public Member Functions inherited from BaseAnnotationTrait | |
getProperties () | |
getPropertiesAndValues ($props=NULL) | |
isSameAs ($annot) | |
Data Fields | |
string | $type |
string | $message |
string | $severity |
string | $group |
array | $constraints |
Additional Inherited Members | |
Protected Member Functions inherited from BaseAttribute | |
getDefaultParameters () | |
Definition at line 24 of file Validator.php.
__construct | ( | string | $type, |
null|string|array | $constraints = ['ref' => false] , |
||
?string | $message = null , |
||
?string | $severity = null , |
||
?string | $group = null |
||
) |
Validator constructor.
string | $type | |
string | array | null | $constraints | |
string | null | $message | |
string | null | $severity | |
string | null | $group |
Exception
Definition at line 41 of file Validator.php.
asAnnotation | ( | ) |
Reimplemented from BaseAttribute.
Definition at line 56 of file Validator.php.
array $constraints |
Definition at line 30 of file Validator.php.
string $group |
Definition at line 29 of file Validator.php.
string $message |
Definition at line 27 of file Validator.php.
string $severity |
Definition at line 28 of file Validator.php.
string $type |
Definition at line 26 of file Validator.php.