|
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
| __construct (\Magento\Framework\App\Config\ScopeConfigInterface $coreConfig, \Magento\Backend\App\ConfigInterface $backendConfig, \Magento\Framework\UrlInterface $url) | |
| getCurrentSecureUrl (\Magento\Framework\App\RequestInterface $request) | |
| shouldBeSecure ($path) | |
| getDefaultPath () | |
Protected Attributes | |
| $coreConfig | |
| $backendConfig | |
| $url | |
Path config to be used in adminhtml area @api
Definition at line 16 of file AdminPathConfig.php.
| __construct | ( | \Magento\Framework\App\Config\ScopeConfigInterface | $coreConfig, |
| \Magento\Backend\App\ConfigInterface | $backendConfig, | ||
| \Magento\Framework\UrlInterface | $url | ||
| ) |
Constructor
| \Magento\Framework\App\Config\ScopeConfigInterface | $coreConfig | |
| \Magento\Backend\App\ConfigInterface | $backendConfig | |
| \Magento\Framework\UrlInterface | $url |
Definition at line 40 of file AdminPathConfig.php.
| getCurrentSecureUrl | ( | \Magento\Framework\App\RequestInterface | $request | ) |
{Retrieve secure url for current request
| \Magento\Framework\App\RequestInterface | $request |
| \Magento\Framework\App\RequestInterface | $request |
Implements PathConfigInterface.
Definition at line 56 of file AdminPathConfig.php.
| getDefaultPath | ( | ) |
{Get router default request path
Implements PathConfigInterface.
Definition at line 85 of file AdminPathConfig.php.
| shouldBeSecure | ( | $path | ) |
{Check whether given path should be secure according to configuration security requirements for URL "Secure" should not be confused with https protocol, it is about web/secure/*_url settings usage only
| string | $path |
| string | $path |
Implements PathConfigInterface.
Definition at line 67 of file AdminPathConfig.php.
|
protected |
Definition at line 26 of file AdminPathConfig.php.
|
protected |
Definition at line 21 of file AdminPathConfig.php.
|
protected |
Definition at line 31 of file AdminPathConfig.php.