Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
__construct (ScopeResolverInterface $scopeResolver) | |
isOwnOrigin ($url) | |
Class provides functionality for checks of a host name
Definition at line 13 of file HostChecker.php.
__construct | ( | ScopeResolverInterface | $scopeResolver | ) |
ScopeResolverInterface | $scopeResolver |
Definition at line 23 of file HostChecker.php.
isOwnOrigin | ( | $url | ) |
Check if provided URL is one of the domain URLs assigned to scopes
string | $url |
Definition at line 34 of file HostChecker.php.