public function setProxy($host, $port = 8080, $access = null)
    {
        $this->proxy = [
            'host'   => $host,
            'port'   => $port,
            'access' => $access,
        ];

        return $this;
    }
public function setProxy($host, $port = 8080, $access = null)
    {
        $this->proxy = [
            'host'   => $host,
            'port'   => $port,
            'access' => $access,
        ];

        return $this;
    }
public function setProxy ( $ host , $ port = 8080 , $ access = null ) { $ this -> proxy = [ 'host' => $ host , 'port' => $ port , 'access' => $ access , ] ; return $ this ; }
Define proxy setting

@param string $host
@param int $port
@param string $access

@return $this
Define proxy setting