Skip to content

Commit

Permalink
Merge pull request #75 from MilanPala/nette-inject
Browse files Browse the repository at this point in the history
Commands needs inject extension
  • Loading branch information
Spamercz authored Aug 19, 2021
2 parents 34e519f + 31bafb8 commit c917f87
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 c917f87

Please sign in to comment.