| 1 | <?php |
||
| 21 | final class FormEvent extends Event |
||
| 22 | { |
||
| 23 | /** |
||
| 24 | * @var FormInterface |
||
| 25 | */ |
||
| 26 | private $form; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @var Request |
||
| 30 | */ |
||
| 31 | private $request; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @var Response|null |
||
| 35 | */ |
||
| 36 | private $response; |
||
| 37 | |||
| 38 | public function __construct(FormInterface $form, Request $request) |
||
| 43 | |||
| 44 | public function getForm(): FormInterface |
||
| 48 | |||
| 49 | public function getRequest(): Request |
||
| 53 | |||
| 54 | public function setResponse(Response $response): void |
||
| 58 | |||
| 59 | public function getResponse(): ?Response |
||
| 63 | } |
||
| 64 |