Beispiel #1
0
 /**
  * Utility method that saves an HTTP response to a file
  *
  * @param  string $name
  * @return void
  */
 protected function saveResponse($name)
 {
     file_put_contents("{$this->filesPath}/{$name}.response", $this->flickr->getHttpClient()->getLastResponse()->asString());
 }