Example #1
0
 /**
  * Making this method public.
  *
  * We are also going to persist all settings this method generates. While
  * the underlying object doesn't behave exactly the same, it helps us
  * simulate what curl does internally, and helps us identify problems with
  * settings that are set by _some_ methods and not correctly reset by other
  * methods after subsequent use.
  * forces
  */
 function createCurlSettingsArray(RequestInterface $request)
 {
     $settings = parent::createCurlSettingsArray($request);
     $settings = $settings + $this->persistedSettings;
     $this->persistedSettings = $settings;
     return $settings;
 }
Example #2
0
 /**
  * Making this method public.
  */
 public function createCurlSettingsArray(RequestInterface $request)
 {
     return parent::createCurlSettingsArray($request);
 }