Skip to content

Commit 9284fdc

Browse files
author
Xavier Seguí Beltrán
committed
Add named parameter name to ProduceCommand
1 parent b963bc8 commit 9284fdc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Command/ProduceCommand.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\SimpleProduceCommand;
6+
use Symfony\Component\Console\Attribute\AsCommand;
67

8+
#[AsCommand(name: 'enqueue:produce')]
79
class ProduceCommand extends SimpleProduceCommand
810
{
911
public function __construct(SimpleClient $client)

0 commit comments

Comments
 (0)