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());
    }