Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
__construct (\Psr\Log\LoggerInterface $logger, \Magento\Framework\Event\ManagerInterface $eventDispatcher, \Magento\Framework\App\CacheInterface $cacheManager, \Magento\Framework\App\State $appState, \Magento\Framework\Model\ActionValidator\RemoveAction $actionValidator) | |
getCacheManager () | |
getEventDispatcher () | |
getLogger () | |
getAppState () | |
getActionValidator () | |
Protected Attributes | |
$_eventDispatcher | |
$_cacheManager | |
$_logger | |
$_appState | |
$_actionValidator | |
Constructor modification point for Magento\Framework\Model\AbstractModel.
All context classes were introduced to allow for backwards compatible constructor modifications of classes that were supposed to be extended by extension developers.
Do not call methods of this class directly.
As Magento moves from inheritance-based APIs all such classes will be deprecated together with the classes they were introduced for.
@api
Definition at line 24 of file Context.php.
__construct | ( | \Psr\Log\LoggerInterface | $logger, |
\Magento\Framework\Event\ManagerInterface | $eventDispatcher, | ||
\Magento\Framework\App\CacheInterface | $cacheManager, | ||
\Magento\Framework\App\State | $appState, | ||
\Magento\Framework\Model\ActionValidator\RemoveAction | $actionValidator | ||
) |
\Psr\Log\LoggerInterface | $logger | |
\Magento\Framework\Event\ManagerInterface | $eventDispatcher | |
\Magento\Framework\App\CacheInterface | $cacheManager | |
\Magento\Framework\App\State | $appState | |
\Magento\Framework\Model\ActionValidator\RemoveAction | $actionValidator |
Definition at line 58 of file Context.php.
getActionValidator | ( | ) |
Definition at line 107 of file Context.php.
getAppState | ( | ) |
getCacheManager | ( | ) |
getEventDispatcher | ( | ) |
getLogger | ( | ) |
|
protected |
Definition at line 49 of file Context.php.
|
protected |
Definition at line 44 of file Context.php.
|
protected |
Definition at line 34 of file Context.php.
|
protected |
Definition at line 29 of file Context.php.
|
protected |
Definition at line 39 of file Context.php.