| 1 | <?php |
||
| 11 | class FormRuleProcessorContext |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @var FormView |
||
| 15 | */ |
||
| 16 | private $view; |
||
| 17 | /** |
||
| 18 | * @var FormInterface |
||
| 19 | */ |
||
| 20 | private $form; |
||
| 21 | /** |
||
| 22 | * @var ConstraintCollection |
||
| 23 | */ |
||
| 24 | private $constraints; |
||
| 25 | |||
| 26 | public function __construct(FormView $view, FormInterface $form, ConstraintCollection $constraints) |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @return FormView |
||
| 35 | */ |
||
| 36 | public function getView() |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @return FormInterface |
||
| 43 | */ |
||
| 44 | public function getForm() |
||
| 48 | |||
| 49 | /** |
||
| 50 | * @return ConstraintCollection |
||
| 51 | */ |
||
| 52 | public function getConstraints() |
||
| 56 | } |
||
| 57 |