Created
February 13, 2018 14:50
-
-
Save jverdeyen/2895ae87cb4d389bf135486ca1a449e8 to your computer and use it in GitHub Desktop.
Enqueue Symfony Console commands [services.yml]
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
services: | |
AppBundle\Service\Queue\QueuedCommandHandler: | |
arguments: | |
$env: "%kernel.environment%" | |
AppBundle\Service\Queue\Processor\RunCommandProcessor: | |
arguments: | |
- "%kernel.project_dir%" | |
tags: | |
- { name: 'enqueue.client.processor', topicName: 'run_command' } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment