1 | <?php |
||
17 | final class ShowAddressBookAction |
||
18 | { |
||
19 | /** |
||
20 | * @var ViewHandlerInterface |
||
21 | */ |
||
22 | private $viewHandler; |
||
23 | |||
24 | /** |
||
25 | * @var TokenStorageInterface |
||
26 | */ |
||
27 | private $tokenStorage; |
||
28 | |||
29 | /** |
||
30 | * @var AddressBookViewFactoryInterface |
||
31 | */ |
||
32 | private $addressBookViewFactory; |
||
33 | |||
34 | /** |
||
35 | * @param ViewHandlerInterface $viewHandler |
||
36 | * @param TokenStorageInterface $tokenStorage |
||
37 | * @param AddressBookViewFactoryInterface $addressBookViewFactory |
||
38 | */ |
||
39 | public function __construct( |
||
40 | ViewHandlerInterface $viewHandler, |
||
41 | TokenStorageInterface $tokenStorage, |
||
42 | AddressBookViewFactoryInterface $addressBookViewFactory |
||
43 | ) { |
||
44 | $this->viewHandler = $viewHandler; |
||
45 | $this->tokenStorage = $tokenStorage; |
||
46 | $this->addressBookViewFactory = $addressBookViewFactory; |
||
47 | } |
||
48 | |||
49 | public function __invoke(Request $request): Response |
||
67 | } |
||
68 |