SDK
SDK PHP v3.x
1

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!
<?php
use \Kuzzle\Kuzzle;
$kuzzle = new Kuzzle('localhost');
$kuzzle->removeListener('queryError', $callback);