Laracademy\Generators\Commands\ModelFromTableCommand::getStub PHP Method

getStub() public method

returns the stub to use to generate the class.
public getStub ( )
    public function getStub()
    {
        $this->doComment('loading model stub');
        return __DIR__ . '/../stubs/model.stub';
    }