Library/Bullhorn/FastRest/Generator/ModelBuilder.php
public function write() {
        $this->getAbstractClass()->write();
        $child = $this->buildChild();
        if(!file_exists($child->getFileName())) {
            $child->write();
        }
        $this->buildTestTable()->write();
        $this->getValidationClass()->write();
        if(!file_exists($this->getValidationChildClass()->getFileName())) {
            $this->getValidationChildClass()->write();
        }
    }
public function write() {
        $this->getAbstractClass()->write();
        $child = $this->buildChild();
        if(!file_exists($child->getFileName())) {
            $child->write();
        }
        $this->buildTestTable()->write();
        $this->getValidationClass()->write();
        if(!file_exists($this->getValidationChildClass()->getFileName())) {
            $this->getValidationChildClass()->write();
        }
    }
public function write ( ) { $ this -> getAbstractClass ( ) -> write ( ) ; $ child = $ this -> buildChild ( ) ; if ( ! file_exists ( $ child -> getFileName ( ) ) ) { $ child -> write ( ) ; } $ this -> buildTestTable ( ) -> write ( ) ; $ this -> getValidationClass ( ) -> write ( ) ; if ( ! file_exists ( $ this -> getValidationChildClass ( ) -> getFileName ( ) ) ) { $ this -> getValidationChildClass ( ) -> write ( ) ; } }
Writes to a file

@return void
Writes to a file