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