Encore\Admin\Commands\MakeCommand::getStub PHP Метод

getStub() защищенный Метод

Get the stub file for the generator.
protected getStub ( ) : string
Результат string
    protected function getStub()
    {
        if ($this->option('model')) {
            return __DIR__ . '/stubs/controller.stub';
        }
        return __DIR__ . '/stubs/blank.stub';
    }