Php/docs/evwatcher.getloop

来自菜鸟教程
跳转至:导航、​搜索

EvWatcher::getLoop

(PECL ev >= 0.2.0)

EvWatcher::getLoopReturns the loop responsible for the watcher


说明

public EvWatcher::getLoop ( ) : EvLoop

Returns the loop responsible for the watcher


参数

此函数没有参数。


返回值

Returns EvLoop event loop object responsible for the watcher.