Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/Kdyby/RabbitMq/Command/AnonConsumerCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

class AnonConsumerCommand extends \Kdyby\RabbitMq\Command\BaseConsumerCommand
{
protected static $defaultName = 'rabbitmq:anon-consumer';

protected function configure(): void
{
Expand Down
1 change: 1 addition & 0 deletions src/Kdyby/RabbitMq/Command/ConsumerCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

class ConsumerCommand extends \Kdyby\RabbitMq\Command\BaseConsumerCommand
{
protected static $defaultName = 'rabbitmq:consumer';

protected function configure(): void
{
Expand Down
1 change: 1 addition & 0 deletions src/Kdyby/RabbitMq/Command/PurgeConsumerCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

class PurgeConsumerCommand extends \Symfony\Component\Console\Command\Command
{
protected static $defaultName = 'rabbitmq:purge';

/**
* @inject
Expand Down
1 change: 1 addition & 0 deletions src/Kdyby/RabbitMq/Command/RpcServerCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

class RpcServerCommand extends \Symfony\Component\Console\Command\Command
{
protected static $defaultName = 'rabbitmq:rpc-server';

/**
* @inject
Expand Down
1 change: 1 addition & 0 deletions src/Kdyby/RabbitMq/Command/SetupFabricCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

class SetupFabricCommand extends \Symfony\Component\Console\Command\Command
{
protected static $defaultName = 'rabbitmq:setup-fabric';

/**
* @inject
Expand Down
1 change: 1 addition & 0 deletions src/Kdyby/RabbitMq/Command/StdInProducerCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

class StdInProducerCommand extends \Symfony\Component\Console\Command\Command
{
protected static $defaultName = 'rabbitmq:stdin-producer';

/**
* @inject
Expand Down
4 changes: 1 addition & 3 deletions src/Kdyby/RabbitMq/DI/RabbitMqExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ class RabbitMqExtension extends \Nette\DI\CompilerExtension
{

public const TAG_COMMAND_KDYBY = 'kdyby.console.command';
public const TAG_COMMAND = 'console.command';
public const TAG_PRODUCER = 'kdyby.rabbitmq.producer';
public const TAG_CONSUMER = 'kdyby.rabbitmq.consumer';
public const TAG_RPC_CLIENT = 'kdyby.rabbitmq.rpc.client';
Expand Down Expand Up @@ -598,8 +597,7 @@ private function loadConsole(): void
$builder->addDefinition($this->prefix('console.' . $i))
->setType($class)
->addTag(\Nette\DI\Extensions\InjectExtension::TAG_INJECT)
->addTag(self::TAG_COMMAND_KDYBY)
->addTag(self::TAG_COMMAND);
->addTag(self::TAG_COMMAND_KDYBY);
}
}

Expand Down