1 | <?php |
||
9 | class ValidatorAdapterZf implements ValidatorInterface |
||
10 | { |
||
11 | private $validator; |
||
12 | |||
13 | /** |
||
14 | * ValidatorAdapterZf constructor. |
||
15 | */ |
||
16 | 4 | public function __construct(ZendValidatorInterface $validator) |
|
20 | |||
21 | /** |
||
22 | * @param mixed $value |
||
23 | * @return bool |
||
24 | * @throws Exception If validation of $value is impossible |
||
25 | */ |
||
26 | 3 | public function isValid($value) |
|
30 | |||
31 | /** |
||
32 | * @return array |
||
33 | */ |
||
34 | 3 | public function getMessages() |
|
38 | |||
39 | |||
40 | } |