1 | <?php |
||
16 | final class RemoveAddressAction |
||
17 | { |
||
18 | /** |
||
19 | * @var ViewHandlerInterface |
||
20 | */ |
||
21 | private $viewHandler; |
||
22 | |||
23 | /** |
||
24 | * @var ValidatorInterface |
||
25 | */ |
||
26 | private $validator; |
||
27 | |||
28 | /** |
||
29 | * @var ValidationErrorViewFactory |
||
30 | */ |
||
31 | private $validationErrorViewFactory; |
||
32 | |||
33 | /** |
||
34 | * @var CommandBus |
||
35 | */ |
||
36 | private $bus; |
||
37 | |||
38 | /** |
||
39 | * @param ViewHandlerInterface $viewHandler |
||
40 | * @param ValidatorInterface $validator |
||
41 | * @param ValidationErrorViewFactory $validationErrorViewFactory |
||
42 | * @param CommandBus $bus |
||
43 | */ |
||
44 | public function __construct( |
||
55 | |||
56 | public function __invoke(Request $request): Response |
||
70 | } |
||
71 |