Skip to content

Commit 145503e

Browse files
author
Xavier Seguí Beltrán
committed
Configure SetupBrokerCommand with AsCommand Attribute from Symfony
1 parent fe9f285 commit 145503e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Command/SetupBrokerCommand.php

+2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33

44
use Enqueue\SimpleClient\SimpleClient;
55
use Enqueue\Symfony\Client\SimpleSetupBrokerCommand;
6+
use Symfony\Component\Console\Attribute\AsCommand;
67

8+
#[AsCommand('enqueue:setup-broker')]
79
class SetupBrokerCommand extends SimpleSetupBrokerCommand
810
{
911
public function __construct(SimpleClient $client)

0 commit comments

Comments
 (0)