Closed
Description
Hi! I've been using Laravel 11 and running the php artisan
command fails and results in the following message:
The command defined in "Enqueue\LaravelQueue\Command\SetupBrokerCommand" cannot have an empty name.
.
Looks like implementing the AsCommand
attributes to the Symfony commands broke the Laravel commands. The reason for that gotta be the fact that Laravel commands are extended from the base Symfony classes, where the AsCommand
attribute is defined and therefore their name cannot be resolved. Creating custom commands that extend the default Laravel commands and implement the AsCommand
attribute fixes this problem, but it would be nice to have that working properly out-of-the-box though.
Metadata
Metadata
Assignees
Labels
No labels