1 | <?php |
||
29 | trait ValidatorAwareTrait |
||
30 | { |
||
31 | /** |
||
32 | * @var ValidatorInterface[] |
||
33 | * @access protected |
||
34 | */ |
||
35 | protected $validators = []; |
||
36 | |||
37 | /** |
||
38 | * {@inheritDoc} |
||
39 | */ |
||
40 | public function addValidator(ValidatorInterface $validator) |
||
45 | |||
46 | /** |
||
47 | * {@inheritDoc} |
||
48 | */ |
||
49 | public function isValid()/*# : bool */ |
||
58 | } |
||
59 |