| Total Complexity | 3 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | class ValidatorAdapterZf implements ValidatorInterface |
||
| 10 | { |
||
| 11 | private $validator; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * ValidatorAdapterZf constructor. |
||
| 15 | */ |
||
| 16 | 12 | public function __construct(LaminasValidatorInterface $validator) |
|
| 17 | { |
||
| 18 | 12 | $this->validator = $validator; |
|
| 19 | 12 | } |
|
| 20 | |||
| 21 | /** |
||
| 22 | * @param mixed $value |
||
| 23 | * @return bool |
||
| 24 | * @throws Exception If validation of $value is impossible |
||
| 25 | */ |
||
| 26 | 9 | public function isValid($value) |
|
| 29 | } |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @return array |
||
| 33 | */ |
||
| 34 | 6 | public function getMessages() |
|
| 37 | } |
||
| 38 | |||
| 40 | } |