php / 8.1.5 / eventbuffer.freeze.html /

EventBuffer::freeze

(PECL event >= 1.2.6-beta)

EventBuffer::freezePrevent calls that modify an event buffer from succeeding

Description

public EventBuffer::freeze( bool $at_front ): bool

Prevent calls that modify an event buffer from succeeding

Parameters

at_front

Whether to disable changes to the front or end of the buffer.

Return Values

Returns true on success or false on failure.

See Also

© 1997–2021 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/eventbuffer.freeze.php