src/Request/LushRequest.php
protected function handleUserOptions()
    {
        foreach ($this->payload['options'] as $option => $value) {
            $resolvedOption = RequestOptions::resolve($option);

            if ($resolvedOption['type'] == 'curl_option') {
                $this->addCurlOption($resolvedOption['option'], $value);
            } else {
                $this->addOption($option, $value);
            }
        }
    }
protected function handleUserOptions()
    {
        foreach ($this->payload['options'] as $option => $value) {
            $resolvedOption = RequestOptions::resolve($option);

            if ($resolvedOption['type'] == 'curl_option') {
                $this->addCurlOption($resolvedOption['option'], $value);
            } else {
                $this->addOption($option, $value);
            }
        }
    }
protected function handleUserOptions ( ) { foreach ( $ this -> payload [ 'options' ] as $ option => $ value ) { $ resolvedOption = RequestOptions :: resolve ( $ option ) ; if ( $ resolvedOption [ 'type' ] == 'curl_option' ) { $ this -> addCurlOption ( $ resolvedOption [ 'option' ] , $ value ) ; } else { $ this -> addOption ( $ option , $ value ) ; } } }
Handle user options.
Handle user options .