From 31bafb81e333223c0330a544d6bf0e4e327ee960 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Milan=20P=C3=A1la?= Date: Wed, 18 Aug 2021 10:27:42 +0200 Subject: [PATCH] Commands needs inject extension --- src/Kdyby/RabbitMq/DI/RabbitMqExtension.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Kdyby/RabbitMq/DI/RabbitMqExtension.php b/src/Kdyby/RabbitMq/DI/RabbitMqExtension.php index 0229227d..0e710b65 100644 --- a/src/Kdyby/RabbitMq/DI/RabbitMqExtension.php +++ b/src/Kdyby/RabbitMq/DI/RabbitMqExtension.php @@ -597,6 +597,7 @@ private function loadConsole(): void ] as $i => $class) { $builder->addDefinition($this->prefix('console.' . $i)) ->setType($class) + ->addTag(\Nette\DI\Extensions\InjectExtension::TAG_INJECT) ->addTag(self::TAG_COMMAND_KDYBY) ->addTag(self::TAG_COMMAND); }