1 | <?php |
||
28 | class Index extends Action |
||
29 | { |
||
30 | /** |
||
31 | * @var Session |
||
32 | */ |
||
33 | private $customerSession; |
||
34 | |||
35 | /** |
||
36 | * @var Url |
||
37 | */ |
||
38 | private $customerUrl; |
||
39 | |||
40 | /** |
||
41 | * @var PageFactory |
||
42 | */ |
||
43 | private $resultPageFactory; |
||
44 | |||
45 | /** |
||
46 | * @param Session $customerSession |
||
47 | * @param Url $customerUrl |
||
48 | * @param Context $context |
||
49 | * @param PageFactory $resultPageFactory |
||
50 | */ |
||
51 | public function __construct( |
||
62 | |||
63 | /** |
||
64 | * Authenticate customer. |
||
65 | * |
||
66 | * @param RequestInterface $request |
||
67 | * @return ResponseInterface |
||
68 | * @throws NotFoundException |
||
69 | */ |
||
70 | public function dispatch(RequestInterface $request) |
||
80 | |||
81 | /** |
||
82 | * @return Page |
||
83 | */ |
||
84 | public function execute(): Page |
||
88 | } |
||
89 |