JDare/ClankBundle — pull request #15 by ajanssen (2013-12-29 19:41:30+00:00)
Title: ZeroMQ implementation

(not the best solution but quick and simple)

public function startZmq($loop)
{
$context = new \React\ZMQ\Context($loop);
$pull = $context->getSocket(\ZMQ::SOCKET_PULL);
$pull->bind('tcp://127.0.0.1:5555');
$pull->on('message', array($this, 'onPushNotification'));
}

https://github.com/JDare/ClankBundle/issues/7