public function initialize($url, $reset = true)
    {
        if ((bool)$reset)
            $this->reset();

        $this->currentRequestUrl = $url;

        $this->state = self::STATE_INITIALIZED;

        return $this;
    }
public function initialize($url, $reset = true)
    {
        if ((bool)$reset)
            $this->reset();

        $this->currentRequestUrl = $url;

        $this->state = self::STATE_INITIALIZED;

        return $this;
    }
public function initialize ( $ url , $ reset = true ) { if ( ( bool ) $ reset ) $ this -> reset ( ) ; $ this -> currentRequestUrl = $ url ; $ this -> state = self :: STATE_INITIALIZED ; return $ this ; }
Create a new CURL resource

@param string $url
@param bool $reset
@return $this
Create a new CURL resource