protected function getHostChunks(Request $request)
    {
        $host = parse_url($request->getHostInfo(), PHP_URL_HOST);

        return explode(self::SEPARATOR_HOST, $host);
    }
protected function getHostChunks(Request $request)
    {
        $host = parse_url($request->getHostInfo(), PHP_URL_HOST);

        return explode(self::SEPARATOR_HOST, $host);
    }
protected function getHostChunks ( Request $ request ) { $ host = parse_url ( $ request -> getHostInfo ( ) , PHP_URL_HOST ) ; return explode ( self :: SEPARATOR_HOST , $ host ) ; }
Returns the "Host" header value splitted by the separator.

@see \cetver\LanguageUrlManager\UrlManager::SEPARATOR_HOST

@param Request $request the Request component instance.

@return array
Returns the Host header value splitted by the separator .