Created
February 25, 2015 16:04
-
-
Save Mezzle/0ee7c1e361e6a6032c9d to your computer and use it in GitHub Desktop.
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
public function getServiceConfig() | |
{ | |
return array( | |
'factories' => array( | |
'Zf2Resque\Service\ResqueWorker' => function ($sm) | |
{ | |
$QUEUE = getenv('QUEUE'); | |
$queues = explode(',', $QUEUE); | |
return new \Zf2Resque\Service\ResqueWorker($queues, $sm); | |
} | |
), | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment