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