private function makeResourceController($option)
    {
        if ($option) {
            $controllerName = Str::studly(class_basename($this->argument('name')));
            $controllerNameFile = $controllerName . 'Controller.php';

            try {
                $controllerPath = __DIR__ . '/controller.stub';
                $controllerAppPath = app_path('Http/Controllers/' . $controllerNameFile);

                $this->helper->replaceAndSave($controllerPath, '{{name}}', $controllerName, $controllerAppPath);
            } catch (\Exception $e) {
                return $this->error($e->getMessage());
            }
        }
    }