1 | <?php |
||
20 | class ValidatorDataObject |
||
21 | { |
||
22 | /** |
||
23 | * @var FormObject |
||
24 | */ |
||
25 | protected $formObject; |
||
26 | |||
27 | /** |
||
28 | * @var FormInterface |
||
29 | */ |
||
30 | protected $form; |
||
31 | |||
32 | /** |
||
33 | * @var Validation |
||
34 | */ |
||
35 | protected $validation; |
||
36 | |||
37 | /** |
||
38 | * @param FormObject $formObject |
||
39 | * @param FormInterface $form |
||
40 | * @param Validation $validation |
||
41 | */ |
||
42 | public function __construct(FormObject $formObject, FormInterface $form, Validation $validation) |
||
48 | |||
49 | /** |
||
50 | * @return FormObject |
||
51 | */ |
||
52 | public function getFormObject() |
||
56 | |||
57 | /** |
||
58 | * @return FormInterface |
||
59 | */ |
||
60 | public function getForm() |
||
64 | |||
65 | /** |
||
66 | * @return Validation |
||
67 | */ |
||
68 | public function getValidation() |
||
72 | } |
||
73 |