private static function getAuthority(array $parsed)
    {
        $host = self::getHost($parsed);

        return strlen($userInfo = self::getUserInfo($parsed)) ? $userInfo.'@'.$host : $host;
    }
private static function getAuthority(array $parsed)
    {
        $host = self::getHost($parsed);

        return strlen($userInfo = self::getUserInfo($parsed)) ? $userInfo.'@'.$host : $host;
    }
private static function getAuthority ( array $ parsed ) { $ host = self :: getHost ( $ parsed ) ; return strlen ( $ userInfo = self :: getUserInfo ( $ parsed ) ) ? $ userInfo . '@' . $ host : $ host ; }
Get authority.

@param  array  $parsed

@return string
Get authority .