private function setup(string $url)
    {
        $parts          = \parse_url($url);
        $this->host     = $parts['host'] ?? '';
        $this->port     = $parts['port'] ?? 21;
        $this->user     = $parts['user'] ?? '';
        $this->password = $parts['pass'] ?? '';
    }
private function setup(string $url)
    {
        $parts          = \parse_url($url);
        $this->host     = $parts['host'] ?? '';
        $this->port     = $parts['port'] ?? 21;
        $this->user     = $parts['user'] ?? '';
        $this->password = $parts['pass'] ?? '';
    }
private function setup ( string $ url ) { $ parts = \ parse_url ( $ url ) ; $ this -> host = $ parts [ 'host' ] ?? '' ; $ this -> port = $ parts [ 'port' ] ?? 21 ; $ this -> user = $ parts [ 'user' ] ?? '' ; $ this -> password = $ parts [ 'pass' ] ?? '' ; }
Setup local member variables by parsing the ftp url.

@param string $url
Setup local member variables by parsing the ftp url .