File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed
app/code/Magento/Customer/Controller Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 9
9
use Magento \Framework \App \Action \Action ;
10
10
11
11
/**
12
+ * AbstractAccount class is deprecated, in favour of Composition approach to build Controllers
13
+ *
12
14
* @SuppressWarnings(PHPMD.NumberOfChildren)
13
15
* @deprecated 2.4.0
14
16
* @see \Magento\Customer\Controller\AccountInterface
Original file line number Diff line number Diff line change 14
14
use Magento \Framework \App \ResponseInterface ;
15
15
use Magento \Framework \Controller \ResultInterface ;
16
16
17
+ /**
18
+ * Plugin verifies permissions using Action Name against injected (`fontend/di.xml`) rules
19
+ */
17
20
class Account
18
21
{
19
22
/**
20
23
* @var Session
21
24
*/
22
25
protected $ session ;
23
26
24
- /**
25
- * @var array
26
- */
27
- private $ allowedActions = [];
28
27
/**
29
28
* @var RequestInterface
30
29
*/
31
30
private $ request ;
32
31
32
+ /**
33
+ * @var array
34
+ */
35
+ private $ allowedActions = [];
36
+
33
37
/**
34
38
* @param RequestInterface $request
35
39
* @param Session $customerSession
You can’t perform that action at this time.
0 commit comments