Laravel\Envoy\SSHConfigFile::parseHost PHP Method

parseHost() protected method

Parse the host into user and host segments.
protected parseHost ( string $host ) : array
$host string
return array
    protected function parseHost($host)
    {
        return str_contains($host, '@') ? explode('@', $host) : [null, $host];
    }