W3cubDocs

/PHP

EventBase::__construct

(PECL event >= 1.2.6-beta)

EventBase::__constructConstructs EventBase object

Description

public 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

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