ValidateQueueNameListener
class ValidateQueueNameListener (View source)
Traits
A copy of \Drupal\Core\DependencyInjection\AutowireTrait with first params' type hint changed.
Properties
static protected array | $queues | from QueueTrait |
Methods
static
create(ContainerInterface $container)
Instantiates a new instance of the implementing class using autowiring.
from
AutowireTrait
void
complete(CompletionInput $input, CompletionSuggestions $suggestions)
No description
from
QueueTrait
__construct(QueueWorkerManagerInterface $workerManager, LoggerInterface $logger)
No description
void
__invoke(ConsoleCommandEvent $event)
This subscriber affects commands which put #[ValidateQueueName] on the class.
Details
static
create(ContainerInterface $container)
Instantiates a new instance of the implementing class using autowiring.
array
getQueues()
No description
void
complete(CompletionInput $input, CompletionSuggestions $suggestions)
No description
__construct(QueueWorkerManagerInterface $workerManager, LoggerInterface $logger)
No description
void
__invoke(ConsoleCommandEvent $event)
This subscriber affects commands which put #[ValidateQueueName] on the class.
Method usages are enforced by Annotated Command still.