<!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>Feeds the given revents set into the event loop</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="evwatcher.construct.html">EvWatcher::__construct</a></div> <div class="next" style="text-align: right; float: right;"><a href="evwatcher.getloop.html">EvWatcher::getLoop</a></div> <div class="up"><a href="class.evwatcher.html">EvWatcher</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="evwatcher.feed" class="refentry"> <div class="refnamediv"> <h1 class="refname">EvWatcher::feed</h1> <p class="verinfo">(PECL ev >= 0.2.0)</p><p class="refpurpose"><span class="refname">EvWatcher::feed</span> — <span class="dc-title">Feeds the given revents set into the event loop</span></p> </div> <div class="refsect1 description" id="refsect1-evwatcher.feed-description"> <h3 class="title">Description</h3> <div class="methodsynopsis dc-description"> <span class="modifier">public</span> <span class="type"><span class="type void">void</span></span> <span class="methodname"><strong>EvWatcher::feed</strong></span> ( <span class="methodparam"> <span class="type">int</span> <code class="parameter">$revents</code> </span> )</div> <p class="para rdfs-comment"> Feeds the given revents set into the event loop, as if the specified event had happened for the watcher. </p> </div> <div class="refsect1 parameters" id="refsect1-evwatcher.feed-parameters"> <h3 class="title">Parameters</h3> <dl> <dt> <span class="term"> <em><code class="parameter">revents</code></em> </span> <dd> <p class="para"> Bit mask of watcher <a href="class.ev.html#ev.constants.watcher-revents" class="link">received events</a> . </p> </dd> </dt> </dl> </div> <div class="refsect1 returnvalues" id="refsect1-evwatcher.feed-returnvalues"> <h3 class="title">Return Values</h3> <p class="para"> No value is returned. </p> </div> </div><hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="evwatcher.construct.html">EvWatcher::__construct</a></div> <div class="next" style="text-align: right; float: right;"><a href="evwatcher.getloop.html">EvWatcher::getLoop</a></div> <div class="up"><a href="class.evwatcher.html">EvWatcher</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>