Laralib\L5scaffold\Makes\MakeController::start PHP Method

start() private method

Start make controller.
private start ( ) : void
return void
    private function start()
    {
        $name = $this->scaffoldCommandObj->getObjName('Name') . 'Controller';
        $path = $this->getPath($name, 'controller');
        if ($this->files->exists($path)) {
            return $this->scaffoldCommandObj->comment("x {$name}");
        }
        $this->makeDirectory($path);
        $this->files->put($path, $this->compileControllerStub());
        $this->scaffoldCommandObj->info('+ Controller');
    }