Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
__construct (ActionFactory $actionFactory, ActionList $actionList, ConfigInterface $routeConfig) | |
match (RequestInterface $request) | |
Matches application action in case when robots.txt file was requested
Definition at line 18 of file Router.php.
__construct | ( | ActionFactory | $actionFactory, |
ActionList | $actionList, | ||
ConfigInterface | $routeConfig | ||
) |
ActionFactory | $actionFactory | |
ActionList | $actionList | |
ConfigInterface | $routeConfig |
Definition at line 40 of file Router.php.
match | ( | RequestInterface | $request | ) |
Checks if robots.txt file was requested and returns instance of matched application action class
RequestInterface | $request |
Implements RouterInterface.
Definition at line 56 of file Router.php.