File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
lib/internal/Magento/Framework/App/Action Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 10
10
use Magento \Framework \App \RequestInterface ;
11
11
use Magento \Framework \App \ResponseInterface ;
12
12
13
- abstract class AbstractAction implements \Magento \Framework \App \ActionInterface
13
+ /**
14
+ * @deprecated Use \Magento\Framework\App\ActionInterface
15
+ * @see https://community.magento.com/t5/Magento-DevBlog/Decomposition-of-Magento-Controllers/ba-p/430883
16
+ */
17
+ abstract class AbstractAction implements ActionInterface
14
18
{
15
19
/**
16
20
* @var \Magento\Framework\App\RequestInterface
@@ -56,6 +60,7 @@ abstract public function dispatch(RequestInterface $request);
56
60
* Retrieve request object
57
61
*
58
62
* @return \Magento\Framework\App\RequestInterface
63
+ * @deprecated This method should not be used anymore. Inject `RequestInterface` into constructor instead
59
64
*/
60
65
public function getRequest ()
61
66
{
@@ -66,6 +71,7 @@ public function getRequest()
66
71
* Retrieve response object
67
72
*
68
73
* @return \Magento\Framework\App\ResponseInterface
74
+ * @deprecated This method should not be used anymore. Inject `ResponseInterface` into constructor instead
69
75
*/
70
76
public function getResponse ()
71
77
{
Original file line number Diff line number Diff line change 24
24
* Action classes that do not extend from this class will lose this behavior and might not function correctly
25
25
*
26
26
* @deprecated Use \Magento\Framework\App\ActionInterface
27
+ * @see https://community.magento.com/t5/Magento-DevBlog/Decomposition-of-Magento-Controllers/ba-p/430883
27
28
*
28
29
* phpcs:disable Magento2.Classes.AbstractApi
29
30
* @api
You can’t perform that action at this time.
0 commit comments