php8.5
Home/ Manual/ event / eventbase/ EventBase::__construct

EventBase::__construct

PHP function Edit on GitHub ✎

(PECL event >= 1.2.6-beta)

Constructs EventBase object

Description

EventBase::__construct([EventConfig $cfg])

Constructs EventBase object

Parameters

cfg

Optional EventConfig object.

Errors/Exceptions

If EventBase cannot be constructed with the provided configuration, a EventException will be thrown.

See Also

  • EventConfig

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