Skip to content

Instantly share code, notes, and snippets.

@jverdeyen
Created February 13, 2018 14:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jverdeyen/2895ae87cb4d389bf135486ca1a449e8 to your computer and use it in GitHub Desktop.
Save jverdeyen/2895ae87cb4d389bf135486ca1a449e8 to your computer and use it in GitHub Desktop.
Enqueue Symfony Console commands [services.yml]
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