src/Generators/ControllerGenerator.php
public function getTemplatePath()
    {
        // get template filename
        $useRepositoryLayer = config('generator.use_repository_layer', true);
        $useServiceLayer = config('generator.use_service_layer', true);
        if ($useServiceLayer && $useRepositoryLayer) {
            $templateFilename = 'Controller_Service';
        } elseif ($useRepositoryLayer) {
            $templateFilename = 'Controller_Repository';
        } else {
            $templateFilename = 'Controller';
        }
        return 'scaffold/'.$templateFilename;
    }
public function getTemplatePath()
    {
        // get template filename
        $useRepositoryLayer = config('generator.use_repository_layer', true);
        $useServiceLayer = config('generator.use_service_layer', true);
        if ($useServiceLayer && $useRepositoryLayer) {
            $templateFilename = 'Controller_Service';
        } elseif ($useRepositoryLayer) {
            $templateFilename = 'Controller_Repository';
        } else {
            $templateFilename = 'Controller';
        }
        return 'scaffold/'.$templateFilename;
    }
public function getTemplatePath ( ) { // get template filename $ useRepositoryLayer = config ( 'generator.use_repository_layer' , true ) ; $ useServiceLayer = config ( 'generator.use_service_layer' , true ) ; if ( $ useServiceLayer && $ useRepositoryLayer ) { $ templateFilename = 'Controller_Service' ; } elseif ( $ useRepositoryLayer ) { $ templateFilename = 'Controller_Repository' ; } else { $ templateFilename = 'Controller' ; } return 'scaffold/' . $ templateFilename ; }
Get the template path for generate

@return string
Get the template path for generate