1 | <?php |
||
5 | trait UseDelegatedValidatorTrait |
||
6 | { |
||
7 | |||
8 | /** |
||
9 | * Delegated validator |
||
10 | * |
||
11 | * \Proengsoft\JsValidation\Support\DelegatedValidator $validator |
||
12 | */ |
||
13 | protected $validator; |
||
14 | |||
15 | |||
16 | /** |
||
17 | * Sets delegated Validator instance. |
||
18 | * |
||
19 | * @param \Proengsoft\JsValidation\Support\DelegatedValidator $validator |
||
20 | */ |
||
21 | public function setDelegatedValidator(DelegatedValidator $validator) { |
||
24 | |||
25 | /** |
||
26 | * Gets current DelegatedValidator instance |
||
27 | * @return \Proengsoft\JsValidation\Support\DelegatedValidator |
||
28 | */ |
||
29 | public function getDelegatedValidator() |
||
33 | |||
34 | } |