Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Public Member Functions | Protected Attributes
Router Class Reference
Inheritance diagram for Router:
RouterInterface

Public Member Functions

 __construct (\Magento\Framework\App\ActionFactory $actionFactory, \Magento\Framework\Event\ManagerInterface $eventManager, \Magento\Framework\UrlInterface $url, \Magento\Cms\Model\PageFactory $pageFactory, \Magento\Store\Model\StoreManagerInterface $storeManager, \Magento\Framework\App\ResponseInterface $response)
 
- Public Member Functions inherited from RouterInterface
 match (RequestInterface $request)
 

Protected Attributes

 $actionFactory
 
 $_eventManager
 
 $_storeManager
 
 $_pageFactory
 
 $_appState
 
 $_url
 
 $_response
 

Detailed Description

@SuppressWarnings(PHPMD.CouplingBetweenObjects)

Definition at line 11 of file Router.php.

Constructor & Destructor Documentation

◆ __construct()

__construct ( \Magento\Framework\App\ActionFactory  $actionFactory,
\Magento\Framework\Event\ManagerInterface  $eventManager,
\Magento\Framework\UrlInterface  $url,
\Magento\Cms\Model\PageFactory  $pageFactory,
\Magento\Store\Model\StoreManagerInterface  $storeManager,
\Magento\Framework\App\ResponseInterface  $response 
)
Parameters
\Magento\Framework\App\ActionFactory$actionFactory
\Magento\Framework\Event\ManagerInterface$eventManager
\Magento\Framework\UrlInterface$url
\Magento\Cms\Model\PageFactory$pageFactory
\Magento\Store\Model\StoreManagerInterface$storeManager
\Magento\Framework\App\ResponseInterface$response

Definition at line 68 of file Router.php.

75  {
76  $this->actionFactory = $actionFactory;
77  $this->_eventManager = $eventManager;
78  $this->_url = $url;
79  $this->_pageFactory = $pageFactory;
80  $this->_storeManager = $storeManager;
81  $this->_response = $response;
82  }
$response
Definition: 404.php:11
$storeManager

Field Documentation

◆ $_appState

$_appState
protected

Definition at line 44 of file Router.php.

◆ $_eventManager

$_eventManager
protected

Definition at line 23 of file Router.php.

◆ $_pageFactory

$_pageFactory
protected

Definition at line 37 of file Router.php.

◆ $_response

$_response
protected

Definition at line 58 of file Router.php.

◆ $_storeManager

$_storeManager
protected

Definition at line 30 of file Router.php.

◆ $_url

$_url
protected

Definition at line 51 of file Router.php.

◆ $actionFactory

$actionFactory
protected

Definition at line 16 of file Router.php.


The documentation for this class was generated from the following file: