Skip to content

Instantly share code, notes, and snippets.

@Stephenitis
Last active August 29, 2015 14:02
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 Stephenitis/399d203d63736314e545 to your computer and use it in GitHub Desktop.
Save Stephenitis/399d203d63736314e545 to your computer and use it in GitHub Desktop.
public function publishAction()
{
$message = ['foo' => 'bar'];
// fetch your provider service from the container
$this->get('uecode_qpush')->get('my_queue_name')->publish($message);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment