Library/Bullhorn/FastRest/Generator/ModelBuilder.php
private function buildGetSource() {
        $method = new Object\Method();
        $method->setAccess('public');
        $method->setDescription('This returns the table name');
        $method->setName('getSource');
        $method->setReturnType('string');
        $method->setContent('return \'' . $this->getTableName() . '\';');
        $this->getAbstractClass()->addMethod($method);
    }
private function buildGetSource() {
        $method = new Object\Method();
        $method->setAccess('public');
        $method->setDescription('This returns the table name');
        $method->setName('getSource');
        $method->setReturnType('string');
        $method->setContent('return \'' . $this->getTableName() . '\';');
        $this->getAbstractClass()->addMethod($method);
    }
private function buildGetSource ( ) { $ method = new Object \ Method ( ) ; $ method -> setAccess ( 'public' ) ; $ method -> setDescription ( 'This returns the table name' ) ; $ method -> setName ( 'getSource' ) ; $ method -> setReturnType ( 'string' ) ; $ method -> setContent ( 'return \'' . $ this -> getTableName ( ) . '\';' ) ; $ this -> getAbstractClass ( ) -> addMethod ( $ method ) ; }
Builds the getSource
@return void
@throws \Exception
Builds the getSource