| 1 | <?php |
||
| 25 | abstract class DefaultProxy implements ValidatorInterface, ValidatorProxyInterface |
||
| 26 | { |
||
| 27 | |||
| 28 | /** |
||
| 29 | * |
||
| 30 | * @var ValidatorInterface |
||
| 31 | */ |
||
| 32 | private $validator = null; |
||
| 33 | |||
| 34 | public function addError($message) |
||
| 38 | |||
| 39 | public function getValidator() |
||
| 43 | |||
| 44 | public function isValid(AnnotatedInterface $model, $attribute) |
||
| 48 | |||
| 49 | public function setValidator(ValidatorInterface $validator) |
||
| 53 | |||
| 54 | public function getErrors() |
||
| 58 | |||
| 59 | } |
||
| 60 |