Appzcoder\CrudGenerator\Commands\CrudModelCommand::getStub PHP Method

getStub() protected method

Get the stub file for the generator.
protected getStub ( ) : string
return string
    protected function getStub()
    {
        return config('crudgenerator.custom_template') ? config('crudgenerator.path') . '/model.stub' : __DIR__ . '/../stubs/model.stub';
    }