1 | <?php |
||
22 | final class UpdateAddressAction |
||
23 | { |
||
24 | /** |
||
25 | * @var ViewHandlerInterface |
||
26 | */ |
||
27 | private $viewHandler; |
||
28 | |||
29 | /** |
||
30 | * @var ValidatorInterface |
||
31 | */ |
||
32 | private $validator; |
||
33 | |||
34 | /** |
||
35 | * @var CommandBus |
||
36 | */ |
||
37 | private $bus; |
||
38 | |||
39 | /** |
||
40 | * @var ValidationErrorViewFactoryInterface |
||
41 | */ |
||
42 | private $validationErrorViewFactory; |
||
43 | |||
44 | /** |
||
45 | * @var AddressBookViewFactoryInterface |
||
46 | */ |
||
47 | private $addressBookViewFactory; |
||
48 | |||
49 | /** |
||
50 | * @var AddressRepositoryInterface |
||
51 | */ |
||
52 | private $addressRepository; |
||
53 | |||
54 | /** |
||
55 | * @var TokenStorageInterface |
||
56 | */ |
||
57 | private $tokenStorage; |
||
58 | /** |
||
59 | * @var CurrentUserProviderInterface |
||
60 | */ |
||
61 | private $currentUserProvider; |
||
62 | |||
63 | /** |
||
64 | * @param ViewHandlerInterface $viewHandler |
||
65 | * @param ValidatorInterface $validator |
||
66 | * @param CommandBus $bus |
||
67 | * @param ValidationErrorViewFactoryInterface $validationErrorViewFactory |
||
68 | * @param AddressBookViewFactoryInterface $addressViewFactory |
||
69 | * @param AddressRepositoryInterface $addressRepository |
||
70 | * @param TokenStorageInterface $tokenStorage |
||
71 | * @param CurrentUserProviderInterface $currentUserProvider |
||
72 | */ |
||
73 | public function __construct( |
||
92 | |||
93 | public function __invoke(Request $request, $id): Response |
||
115 | } |
||
116 |