setDescription('Create a new controller class'); parent::configure(); } protected function getStub(): string { return $this->getConfig()['stub'] ?? __DIR__ . '/stubs/controller.stub'; } protected function getDefaultNamespace(): string { return $this->getConfig()['namespace'] ?? 'App\\Controller'; } }