php8.5
Home/ Manual/ event / eventconfig/ EventConfig::setFlags

EventConfig::setFlags

PHP function Edit on GitHub ✎

(PECL event >= 2.0.2-alpha)

Sets one or more flags that configure how the eventual EventBase will be initialized

Description

EventConfig::setFlags(int $flags): bool

Sets one or more flags to configure what parts of the eventual EventBase will be initialized, and how they'll work.

Parameters

flags

One of EventBase::LOOP_* constants. See EventBase constants.

Return Values

Success

See Also

  • EventBase::getFeatures

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