protected function stripProtocol($domain)
    {
        if (Str::contains($domain, '://')) {
            $domain = \substr($domain, \strpos($domain, '://') + 3);
        }

        return $domain;
    }
protected function stripProtocol($domain)
    {
        if (Str::contains($domain, '://')) {
            $domain = \substr($domain, \strpos($domain, '://') + 3);
        }

        return $domain;
    }
protected function stripProtocol ( $ domain ) { if ( Str :: contains ( $ domain , '://' ) ) { $ domain = \ substr ( $ domain , \ strpos ( $ domain , '://' ) + 3 ) ; } return $ domain ; }
Strip the protocol from a domain.

@param string $domain

@return string
Strip the protocol from a domain .