SDK
SDK PHP v3.x
1

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) #

ArgumentsTypeDescription
eventstringOne of the events described in the Event Handling section of this documentation
callbackfunction/objectthe callback

Return Value #

Returns the Kuzzle object to allow chaining.

Usage #

<?php
use \Kuzzle\Kuzzle;
$kuzzle = new Kuzzle('localhost');
$kuzzle->removeListener('queryError', $callback);