Open TNAJanssen opened 10 years ago
(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
(not the best solution but quick and simple)
https://github.com/JDare/ClankBundle/issues/7