File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed
lib/internal/Magento/Framework/App/Action Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,11 @@ abstract class AbstractAction implements \Magento\Framework\App\ActionInterface
24
24
*/
25
25
protected $ resultRedirectFactory ;
26
26
27
+ /**
28
+ * @var \Magento\Framework\Controller\ResultFactory;
29
+ */
30
+ protected $ resultFactory ;
31
+
27
32
/**
28
33
* @param \Magento\Framework\App\Action\Context $context
29
34
*/
@@ -33,6 +38,7 @@ public function __construct(
33
38
$ this ->_request = $ context ->getRequest ();
34
39
$ this ->_response = $ context ->getResponse ();
35
40
$ this ->resultRedirectFactory = $ context ->getResultRedirectFactory ();
41
+ $ this ->resultFactory = $ context ->getResultFactory ();
36
42
}
37
43
38
44
/**
Original file line number Diff line number Diff line change @@ -184,4 +184,12 @@ public function getResultRedirectFactory()
184
184
{
185
185
return $ this ->resultRedirectFactory ;
186
186
}
187
+
188
+ /**
189
+ * @return \Magento\Framework\Controller\ResultFactory
190
+ */
191
+ public function getResultFactory ()
192
+ {
193
+ return $ this ->resultFactory ;
194
+ }
187
195
}
You can’t perform that action at this time.
0 commit comments