1 | <?php |
||
8 | class FormEvent extends Event |
||
9 | { |
||
10 | /** |
||
11 | * @var FormInterface |
||
12 | */ |
||
13 | private $form; |
||
14 | |||
15 | /** |
||
16 | * @var mixed |
||
17 | */ |
||
18 | private $entity; |
||
19 | |||
20 | /** |
||
21 | * @param FormInterface $form |
||
22 | * @param mixed $entity |
||
23 | */ |
||
24 | public function __construct(FormInterface $form, $entity) |
||
29 | |||
30 | /** |
||
31 | * @return FormInterface |
||
32 | */ |
||
33 | public function getForm() |
||
37 | |||
38 | /** |
||
39 | * @return mixed |
||
40 | */ |
||
41 | public function getEntity() |
||
45 | } |
||
46 |