array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'pt_BR', ), 'this' => array ( 0 => 'evprepare.createstopped.php', 1 => 'EvPrepare::createStopped', ), 'up' => array ( 0 => 'class.evprepare.php', 1 => 'EvPrepare', ), 'prev' => array ( 0 => 'evprepare.construct.php', 1 => 'EvPrepare::__construct', ), 'next' => array ( 0 => 'class.evsignal.php', 1 => 'EvSignal', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/ev/evprepare/createstopped.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL ev >= 0.2.0)
EvPrepare::createStopped — Creates a stopped instance of EvPrepare watcher
$callback
,
mixed $data
= null
,
int $priority
= 0
): EvPrepareCreates a stopped instance of EvPrepare watcher. Unlike EvPrepare::__construct() , this method doesn' start the watcher automatically.
callback
See Watcher callbacks .
data
Custom data associated with the watcher.
priority
Return EvPrepare object on success.