Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
framework
App
Action
AbstractAction.php
Go to the documentation of this file.
1
<?php
8
namespace
Magento\Framework\App\Action
;
9
10
use
Magento\Framework\App\RequestInterface
;
11
use
Magento\Framework\App\ResponseInterface
;
12
13
abstract
class
AbstractAction
implements
\Magento\Framework\App\ActionInterface
14
{
18
protected
$_request
;
19
23
protected
$_response
;
24
28
protected
$resultRedirectFactory
;
29
33
protected
$resultFactory
;
34
38
public
function
__construct
(
39
Context
$context
40
) {
41
$this->_request = $context->
getRequest
();
42
$this->_response = $context->
getResponse
();
43
$this->resultRedirectFactory = $context->
getResultRedirectFactory
();
44
$this->resultFactory = $context->
getResultFactory
();
45
}
46
53
abstract
public
function
dispatch
(
RequestInterface
$request
);
54
60
public
function
getRequest
()
61
{
62
return
$this->_request
;
63
}
64
70
public
function
getResponse
()
71
{
72
return
$this->_response
;
73
}
74
}
Magento\Framework\App\Action\AbstractAction\getResponse
getResponse()
Definition:
AbstractAction.php:70
Magento\Framework\App\Action\Context\getResultRedirectFactory
getResultRedirectFactory()
Definition:
Context.php:197
Magento\Framework\App\Action\AbstractAction\getRequest
getRequest()
Definition:
AbstractAction.php:60
Magento\Framework\App\Action\Context\getResultFactory
getResultFactory()
Definition:
Context.php:205
Magento\Framework\App\Action\AbstractAction\__construct
__construct(Context $context)
Definition:
AbstractAction.php:38
Magento\Framework\App\Action\AbstractAction\dispatch
dispatch(RequestInterface $request)
Definition:
AbstractAction.php:54
Magento\Framework\App\Action\Context\getRequest
getRequest()
Definition:
Context.php:165
Magento\Framework\App\RequestInterface
Definition:
RequestInterface.php:14
Magento\Framework\App\ActionInterface
Definition:
ActionInterface.php:14
$request
$request
Definition:
quote_with_configurable_product_last_variation.php:22
Magento\Framework\App\Action\AbstractAction\$resultRedirectFactory
$resultRedirectFactory
Definition:
AbstractAction.php:28
Magento\Framework\App\Action\AbstractAction\$_response
$_response
Definition:
AbstractAction.php:23
Magento\Framework\App\Action\Context\getResponse
getResponse()
Definition:
Context.php:173
Magento\Framework\App\Action\AbstractAction
Definition:
AbstractAction.php:13
Magento\Framework\App\Action\Context
Definition:
Context.php:24
Magento\Framework\App\Action\AbstractAction\$_request
$_request
Definition:
AbstractAction.php:18
Magento\Framework\App\ResponseInterface
Definition:
ResponseInterface.php:14
Magento\Framework\App\Action\AbstractAction\$resultFactory
$resultFactory
Definition:
AbstractAction.php:33
Magento\Framework\App\Action
Definition:
AbstractAction.php:8