Skip to content

Commit

Permalink
Commands needs inject extension
Browse files Browse the repository at this point in the history
  • Loading branch information
MilanPala committed Aug 18, 2021
1 parent 6501297 commit 31bafb8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Kdyby/RabbitMq/DI/RabbitMqExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 31bafb8

Please sign in to comment.