Incorrect method "on" while listening to pull messages
Hello everyone

I am actually following the tutorial http://socketo.me/docs/push trying to implement websocket in php but I am stuck at this second to last step.

` // Listen for the web server to make a ZeroMQ push after an ajax request`
`    $context = new React\ZMQ\Context($loop);`
`    $pull = $context->getSocket(ZMQ::SOCKET_PULL);`
`    $pull->bind('tcp://127.0.0.1:5555'); // Binding to 127.0.0.1 means the only client that can connect is itself`
  `  $pull->on('message', array($pusher, 'onBlogEntry'));`

It seems that there is no method "on" on the Socket class. How can I fix this and be able to catch the messages inside the 'onBlogEntry' method of the pusher class so I can broadcast it thru websocket ?

Is someone able to guide me, I looked all around the internet ( maybe missed the info, please apologies)

Thank you very much
