| Total Complexity | 4 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | trait ValidatorsManagerInitTrait { |
||
| 8 | /** |
||
| 9 | * Parses models and save validators in cache |
||
| 10 | * to use in dev only |
||
| 11 | * @param array $config |
||
| 12 | */ |
||
| 13 | public static function initModelsValidators(&$config){ |
||
| 21 | } |
||
| 22 | } |
||
| 23 | } |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Registers a validator type for using with @validator annotation |
||
| 27 | * @param string $type |
||
| 28 | * @param string $validatorClass |
||
| 29 | */ |
||
| 30 | public static function registerType($type,$validatorClass){ |
||
| 35 |