Event::__construct
Event::__construct
(PECL event >= 1.2.6-beta)
Event::__construct — Constructs Event object
Description
public Event::__construct ( EventBase $base , mixed $fd , int $what , callable $cb [, mixed $arg = NULL ] )
Constructs Event object.
Parameters
-
base
-
The event base to associate with.
-
fd
-
stream resource, socket resource, or numeric file descriptor. For timer events