original_string: protected function writeContentToFile()
      {
          $content = '<?php' . PHP_EOL . PHP_EOL
                   . 'return ' . $this->getCleanContent() . ';' . PHP_EOL;
  
          try {
              File::put($this->path, $content);
  
          } catch (Exception $e) {
  
              throw (new ModelInformationFileWriteFailureException(
                      "Failed to write '{$this->path}', make sure the directory exists and is writable",
                      $e->getCode(),
                      $e
                  ))->setModelClass($this->information->modelClass());
          }
      }
code: protected function writeContentToFile()
      {
          $content = '<?php' . PHP_EOL . PHP_EOL
                   . 'return ' . $this->getCleanContent() . ';' . PHP_EOL;
  
          try {
              File::put($this->path, $content);
  
          } catch (Exception $e) {
  
              throw (new ModelInformationFileWriteFailureException(
                      "Failed to write '{$this->path}', make sure the directory exists and is writable",
                      $e->getCode(),
                      $e
                  ))->setModelClass($this->information->modelClass());
          }
      }
code_tokens: protected function writeContentToFile ( ) { $ content = '<?php' . PHP_EOL . PHP_EOL . 'return ' . $ this -> getCleanContent ( ) . ';' . PHP_EOL ; try { File :: put ( $ this -> path , $ content ) ; } catch ( Exception $ e ) { throw ( new ModelInformationFileWriteFailureException ( "Failed to write '{$this->path}', make sure the directory exists and is writable" , $ e -> getCode ( ) , $ e ) ) -> setModelClass ( $ this -> information -> modelClass ( ) ) ; } }
docstring: Writes the array model information content to file.
docstring_tokens: Writes the array model information content to file .