Core/Curl.php
protected function setOptions()
    {
        foreach ($this->getEnvironmentParameters() as $name => $value) {
            $this->setOption(constant($name), $value);
        }

        $this->setOption(CURLOPT_HTTPHEADER, $this->getHeader());
        $this->setOption(CURLOPT_URL, $this->getUrlToCall());
        $this->setOption(CURLOPT_POSTFIELDS, $this->getQuery());
    }
protected function setOptions()
    {
        foreach ($this->getEnvironmentParameters() as $name => $value) {
            $this->setOption(constant($name), $value);
        }

        $this->setOption(CURLOPT_HTTPHEADER, $this->getHeader());
        $this->setOption(CURLOPT_URL, $this->getUrlToCall());
        $this->setOption(CURLOPT_POSTFIELDS, $this->getQuery());
    }
protected function setOptions ( ) { foreach ( $ this -> getEnvironmentParameters ( ) as $ name => $ value ) { $ this -> setOption ( constant ( $ name ) , $ value ) ; } $ this -> setOption ( CURLOPT_HTTPHEADER , $ this -> getHeader ( ) ) ; $ this -> setOption ( CURLOPT_URL , $ this -> getUrlToCall ( ) ) ; $ this -> setOption ( CURLOPT_POSTFIELDS , $ this -> getQuery ( ) ) ; }
Set Curl Parameters.
Set Curl Parameters .