Frontend\Core\Engine\Url::getDomain PHP Метод

getDomain() публичный Метод

Get the domain
public getDomain ( ) : string
Результат string The current domain (without www.)
    public function getDomain()
    {
        // replace
        return str_replace('www.', '', $this->request->getHttpHost());
    }