EvWatcher
PHP Manual

EvWatcher::getLoop

(PECL ev >= 0.2.0)

EvWatcher::getLoopReturns the loop responsible for the watcher

Description

public EvLoop EvWatcher::getLoop ( void )

Returns the loop responsible for the watcher

Parameters

This function has no parameters.

Return Values

Returns EvLoop event loop object responsible for the watcher.


EvWatcher
PHP Manual