Library/Bullhorn/FastRest/Generator/Object/Index.php
public function write() {
        $filename = $this->getFileName();
        if(basename($filename) == '.php') {
            throw new CatchableException('Invalid Filename: '.$filename);
        }
        if(!is_dir(dirname($filename))) {
            mkdir(dirname($filename), 0777, true);
        }
        file_put_contents($filename, $this->toString());
    }
public function write() {
        $filename = $this->getFileName();
        if(basename($filename) == '.php') {
            throw new CatchableException('Invalid Filename: '.$filename);
        }
        if(!is_dir(dirname($filename))) {
            mkdir(dirname($filename), 0777, true);
        }
        file_put_contents($filename, $this->toString());
    }
public function write ( ) { $ filename = $ this -> getFileName ( ) ; if ( basename ( $ filename ) == '.php' ) { throw new CatchableException ( 'Invalid Filename: ' . $ filename ) ; } if ( ! is_dir ( dirname ( $ filename ) ) ) { mkdir ( dirname ( $ filename ) , 0777 , true ) ; } file_put_contents ( $ filename , $ this -> toString ( ) ) ; }
Writes this class to the server
@return void
Writes this class to the server