php8.5
Home/ Manual/ event / eventbuffer/ EventBuffer::freeze

EventBuffer::freeze

PHP function Edit on GitHub ✎

(PECL event >= 1.2.6-beta)

Prevent calls that modify an event buffer from succeeding

Description

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

Success

See Also

  • EventBuffer::unfreeze

Source: reference/event/eventbuffer/freeze.xml · from the official PHP manual (php/doc-en)