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

EvFork::__construct

(PECL ev >= 0.2.0)

EvFork::__constructConstructs the EvFork watcher object

Descrizione

public EvFork::__construct( callable $callback , mixed $data = null , int $priority = 0 )

Constructs the EvFork 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: