array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'it', ), 'this' => array ( 0 => 'evidle.construct.php', 1 => 'EvIdle::__construct', 2 => 'Constructs the EvIdle watcher object', ), 'up' => array ( 0 => 'class.evidle.php', 1 => 'EvIdle', ), 'prev' => array ( 0 => 'class.evidle.php', 1 => 'EvIdle', ), 'next' => array ( 0 => 'evidle.createstopped.php', 1 => 'EvIdle::createStopped', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/ev/evidle/construct.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

EvIdle::__construct

(PECL ev >= 0.2.0)

EvIdle::__constructConstructs the EvIdle watcher object

Descrizione

public EvIdle::__construct( callable $callback , mixed $data = ?, int $priority = ?)

Constructs the EvIdle watcher object and starts the watcher automatically.

Elenco dei parametri

callback

See Watcher callbacks.

data

Custom data associated with the watcher.

priority

Watcher priority

Vedere anche: