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());
        }
    }
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());
        }
    }
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 ( ) ) ; } }
Writes the array model information content to file.
Writes the array model information content to file .