|
static | initModelsValidators (&$config, $databaseOffset='default') |
| Parses models and save validators in cache to use in dev only.
|
|
static | initClassValidators ($class) |
| Parses a class and save validators in cache to use in dev only.
|
|
static | addClassValidators ($class) |
| Parses a class and save validators in cache.
|
|
static | registerType ($type, $validatorClass) |
| Registers a validator type for using with @validator annotation.
|
|
◆ addClassValidators()
static addClassValidators |
( |
|
$class | ) |
|
|
static |
◆ initClassValidators()
static initClassValidators |
( |
|
$class | ) |
|
|
static |
◆ initModelsValidators()
static initModelsValidators |
( |
& |
$config, |
|
|
|
$databaseOffset = 'default' |
|
) |
| |
|
static |
Parses models and save validators in cache to use in dev only.
- Parameters
-
array | $config | |
string | $databaseOffset | |
Definition at line 23 of file ValidatorsManagerInitTrait.php.
◆ registerType()
static registerType |
( |
|
$type, |
|
|
|
$validatorClass |
|
) |
| |
|
static |
Registers a validator type for using with @validator annotation.
- Parameters
-
string | $type | |
string | $validatorClass | |
Definition at line 63 of file ValidatorsManagerInitTrait.php.
The documentation for this class was generated from the following file: