Total Complexity | 3 |
Total Lines | 33 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
16 | class Redirect extends Action implements HttpGetActionInterface |
||
17 | { |
||
18 | /** |
||
19 | * @var CustomerSession |
||
20 | */ |
||
21 | private $customerSession; |
||
22 | |||
23 | /** |
||
24 | * @param Context $context |
||
25 | * @param CustomerSession $customerSession |
||
26 | */ |
||
27 | public function __construct( |
||
28 | Context $context, |
||
29 | CustomerSession $customerSession |
||
30 | ) { |
||
31 | parent::__construct($context); |
||
32 | $this->customerSession = $customerSession; |
||
33 | } |
||
34 | |||
35 | /** |
||
36 | * @inheritDoc |
||
37 | */ |
||
38 | public function execute() |
||
49 | } |
||
50 | } |
||
51 |