Nwidart\Modules\Commands\ControllerCommand::getStubName PHP 메소드

getStubName() 개인적인 메소드

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