(PECL event >= 1.2.6-beta)
EventBufferEvent::disable — Disable events read, write, or both on a buffer event
public EventBufferEvent::disable ( int $events ) : bool
Disable events Event::READ
, Event::WRITE
, or Event::READ
|
Event::WRITE
on a buffer event.
events
Returns true
on success. Otherwise false
.
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/eventbufferevent.disable.php