public function applyTo(Request $request)
    {
        if (!empty($this->data)) {
            curl_setopt_array($request->getHandle(), $this->data);
        }

        return $this;
    }
public function applyTo(Request $request)
    {
        if (!empty($this->data)) {
            curl_setopt_array($request->getHandle(), $this->data);
        }

        return $this;
    }
public function applyTo ( Request $ request ) { if ( ! empty ( $ this -> data ) ) { curl_setopt_array ( $ request -> getHandle ( ) , $ this -> data ) ; } return $ this ; }
Applies options to Request object

@param Request $request
@return self
Applies options to Request object