original_string: public function download($pathToFile, $name = null, array $headers = array())
  	{
  		$response = StaticClient::get($this->offsetGet('_downloadURL'), array(
  			'headers' => $headers,
  			'timeout' => $this->timeout,
  			'save_to' => $pathToFile,
  		));
  
  		file_put_contents($pathToFile, $response->getBody()->getStream());
  	}
code: public function download($pathToFile, $name = null, array $headers = array())
  	{
  		$response = StaticClient::get($this->offsetGet('_downloadURL'), array(
  			'headers' => $headers,
  			'timeout' => $this->timeout,
  			'save_to' => $pathToFile,
  		));
  
  		file_put_contents($pathToFile, $response->getBody()->getStream());
  	}
code_tokens: public function download ( $ pathToFile , $ name = null , array $ headers = array ( ) ) { $ response = StaticClient :: get ( $ this -> offsetGet ( '_downloadURL' ) , array ( 'headers' => $ headers , 'timeout' => $ this -> timeout , 'save_to' => $ pathToFile , ) ) ; file_put_contents ( $ pathToFile , $ response -> getBody ( ) -> getStream ( ) ) ; }
docstring: Download the file to a local path.
  
  @param  string  $pathToFile,
  @param  string  $name
  @param  headers $array
  @return void
docstring_tokens: Download the file to a local path .