File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
lib/internal/Magento/Framework/App/Action Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 1
1
<?php
2
2
/**
3
- * Abstract redirect/forward action class
4
- *
5
3
* Copyright © Magento, Inc. All rights reserved.
6
4
* See COPYING.txt for license details.
7
5
*/
10
8
use Magento \Framework \App \RequestInterface ;
11
9
use Magento \Framework \App \ResponseInterface ;
12
10
11
+ /**
12
+ * Abstract redirect/forward action class
13
+ *
14
+ * @deprecated Inheritance in controllers should be avoided in favor of composition
15
+ * @see \Magento\Framework\App\ActionInterface
16
+ */
13
17
abstract class AbstractAction implements \Magento \Framework \App \ActionInterface
14
18
{
15
19
/**
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
26
+ * @deprecated Inheritance in controllers should be avoided in favor of composition
27
+ * @see \Magento\Framework\App\ActionInterface
27
28
*
28
29
* phpcs:disable Magento2.Classes.AbstractApi
29
30
* @api
You can’t perform that action at this time.
0 commit comments