SDK PHP v3.x

You are currently looking at the documentation of a previous version of Kuzzle. We strongly recommend that you use the latest version. You can also use the version selector in the top menu.

removeListener #

Remove a listener from an event.

removeListener(event, callback) #

Arguments Type Description
event string One of the events described in the Event Handling section of this documentation
callback function/object the callback

Return Value #

Returns the Kuzzle object to allow chaining.

Usage #

Copied to clipboard!
use \Kuzzle\Kuzzle;
$kuzzle = new Kuzzle('localhost');
$kuzzle->removeListener('queryError', $callback);