Event::timerConstructs timer event object Description
public
static
Event
Event::timer
(
EventBase
$base
,
callable
$cb
[,
mixed
$arg
] )Constructs timer event object. This is a straightforward method to create a timer event. Note, the generic Event::__construct method can contruct signal event objects too. Parameters
Return Values
Returns Event object on success. Otherwise |