|
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
| __construct (State $state, Response\FileInterface $response, Request\Http $request, View\Asset\Publisher $publisher, \Magento\Framework\View\Asset\Repository $assetRepo, \Magento\Framework\Module\ModuleList $moduleList, \Magento\Framework\ObjectManagerInterface $objectManager, ConfigLoaderInterface $configLoader, DeploymentConfig $deploymentConfig=null) | |
| launch () | |
| catchException (Bootstrap $bootstrap, \Exception $exception) | |
Public Member Functions inherited from AppInterface | |
| catchException (App\Bootstrap $bootstrap, \Exception $exception) | |
Protected Member Functions | |
| parsePath ($path) | |
Additional Inherited Members | |
Data Fields inherited from AppInterface | |
| const | DISTRO_LOCALE_CODE = 'en_US' |
Entry point for retrieving static resources like JS, CSS, images by requested public path
@SuppressWarnings(PHPMD.CouplingBetweenObjects)
Definition at line 19 of file StaticResource.php.
| __construct | ( | State | $state, |
| Response\FileInterface | $response, | ||
| Request\Http | $request, | ||
| View\Asset\Publisher | $publisher, | ||
| \Magento\Framework\View\Asset\Repository | $assetRepo, | ||
| \Magento\Framework\Module\ModuleList | $moduleList, | ||
| \Magento\Framework\ObjectManagerInterface | $objectManager, | ||
| ConfigLoaderInterface | $configLoader, | ||
| DeploymentConfig | $deploymentConfig = null |
||
| ) |
| State | $state | |
| Response\FileInterface | $response | |
| Request\Http | $request | |
| View\Asset\Publisher | $publisher | |
| \Magento\Framework\View\Asset\Repository | $assetRepo | |
| \Magento\Framework\Module\ModuleList | $moduleList | |
| \Magento\Framework\ObjectManagerInterface | $objectManager | |
| ConfigLoaderInterface | $configLoader | |
| DeploymentConfig | null | $deploymentConfig |
Definition at line 87 of file StaticResource.php.
| catchException | ( | Bootstrap | $bootstrap, |
| \Exception | $exception | ||
| ) |
{}
Definition at line 143 of file StaticResource.php.
| launch | ( | ) |
Finds requested resource and provides it to the client
Implements AppInterface.
Definition at line 115 of file StaticResource.php.
|
protected |
Parse path to identify parts needed for searching original file
| string | $path |
Definition at line 164 of file StaticResource.php.