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

參數(shù)

此函數(shù)沒有參數(shù)。

返回值

Returns EvLoop event loop object responsible for the watcher.