original_string: public function saveToFile($filePath,$format = 'csvforexcel')
      {
          $this->format(Format::get($format));
          $this->run();
  
          $this->data->saveToFile($filePath);
  
          return true;
      }
code: public function saveToFile($filePath,$format = 'csvforexcel')
      {
          $this->format(Format::get($format));
          $this->run();
  
          $this->data->saveToFile($filePath);
  
          return true;
      }
code_tokens: public function saveToFile ( $ filePath , $ format = 'csvforexcel' ) { $ this -> format ( Format :: get ( $ format ) ) ; $ this -> run ( ) ; $ this -> data -> saveToFile ( $ filePath ) ; return true ; }
docstring: Save the report in a file.
  @param $filePath
  @param string $format
  @return bool
docstring_tokens: Save the report in a file .