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