1 | <?php |
||
33 | trait ValidatorAwareTrait |
||
34 | { |
||
35 | /** |
||
36 | * @var ValidatorInterface |
||
37 | * @access protected |
||
38 | */ |
||
39 | protected $validator; |
||
40 | |||
41 | /** |
||
42 | * {@inheritDoc} |
||
43 | */ |
||
44 | public function setValidator(ValidatorInterface $validator = null) |
||
49 | |||
50 | /** |
||
51 | * {@inheritDoc} |
||
52 | */ |
||
53 | public function getValidator()/*# : ValidatorInterface */ |
||
63 | } |
||
64 |