EventListener::disable
(PECL event >= 1.2.6-beta)
EventListener::disable — Disables an event connect listener object
Description
public EventListener::disable ( ) : bool
Disables an event connect listener object
Parameters
This function has no parameters.
Return Values
Returns true
on success. Otherwise false
.
See Also
- EventListener::enable() - Enables an event connect listener object
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/eventlistener.disable.php