1 | <?php |
||
16 | final class SetDefaultAddress |
||
17 | { |
||
18 | /** |
||
19 | * @var ViewHandlerInterface |
||
20 | */ |
||
21 | private $viewHandler; |
||
22 | |||
23 | /** |
||
24 | * @var CommandBus |
||
25 | */ |
||
26 | private $bus; |
||
27 | |||
28 | /** |
||
29 | * @var ValidatorInterface |
||
30 | */ |
||
31 | private $validator; |
||
32 | |||
33 | /** |
||
34 | * @var ValidationErrorViewFactoryInterface |
||
35 | */ |
||
36 | private $validationErrorViewFactory; |
||
37 | |||
38 | /** |
||
39 | * CreateAddressAction constructor. |
||
40 | * |
||
41 | * @param ViewHandlerInterface $viewHandler |
||
42 | * @param CommandBus $bus |
||
43 | * @param ValidatorInterface $validator |
||
44 | * @param ValidationErrorViewFactoryInterface $validationErrorViewFactory |
||
45 | */ |
||
46 | public function __construct( |
||
57 | |||
58 | /** |
||
59 | * @param Request $request |
||
60 | * |
||
61 | * @return Response |
||
62 | */ |
||
63 | public function __invoke(Request $request) |
||
77 | } |
||
78 |