Nwidart\Modules\Commands\ControllerCommand::getStubName PHP Method

getStubName() private method

Get the stub file name based on the plain option
private getStubName ( ) : string
return string
    private function getStubName()
    {
        if ($this->option('plain') === true) {
            return '/controller-plain.stub';
        }
        return '/controller.stub';
    }