<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Creates EvChild object associated with the current event loop</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="evloop.check.html">EvLoop::check</a></div> <div class="next" style="text-align: right; float: right;"><a href="evloop.construct.html">EvLoop::__construct</a></div> <div class="up"><a href="class.evloop.html">EvLoop</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="evloop.child" class="refentry"> <div class="refnamediv"> <h1 class="refname">EvLoop::child</h1> <p class="verinfo">(PECL ev >= 0.2.0)</p><p class="refpurpose"><span class="refname">EvLoop::child</span> — <span class="dc-title">Creates EvChild object associated with the current event loop</span></p> </div> <div class="refsect1 description" id="refsect1-evloop.child-description"> <h3 class="title">Description</h3> <div class="methodsynopsis dc-description"> <span class="modifier">final</span> <span class="modifier">public</span> <span class="type"><a href="class.evchild.html" class="type EvChild">EvChild</a></span> <span class="methodname"><strong>EvLoop::child</strong></span> ( <span class="methodparam"> <span class="type">string</span> <code class="parameter">$pid</code> </span> , <span class="methodparam"> <span class="type">string</span> <code class="parameter">$trace</code> </span> , <span class="methodparam"> <span class="type">string</span> <code class="parameter">$callback</code> </span> [, <span class="methodparam"> <span class="type">string</span> <code class="parameter">$data</code> </span> [, <span class="methodparam"> <span class="type">string</span> <code class="parameter">$priority</code> </span> ]] )</div> <p class="para rdfs-comment"> Creates EvChild object associated with the current event loop. </p> </div> <div class="refsect1 parameters" id="refsect1-evloop.child-parameters"> <h3 class="title">Parameters</h3> <p class="para"> All parameters have the same meaning as for <span class="methodname"><a href="evchild.construct.html" class="methodname">EvChild::__construct()</a></span> </p> </div> <div class="refsect1 returnvalues" id="refsect1-evloop.child-returnvalues"> <h3 class="title">Return Values</h3> <p class="para"> Returns EvChild object on success. </p> </div> <div class="refsect1 seealso" id="refsect1-evloop.child-seealso"> <h3 class="title">See Also</h3> <ul class="simplelist"> <li class="member"> <span class="methodname"><a href="evchild.construct.html" class="methodname" rel="rdfs-seeAlso">EvChild::__construct()</a> - Constructs the EvChild watcher object</span> </li> </ul> </div> </div><hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="evloop.check.html">EvLoop::check</a></div> <div class="next" style="text-align: right; float: right;"><a href="evloop.construct.html">EvLoop::__construct</a></div> <div class="up"><a href="class.evloop.html">EvLoop</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>