php / 8.1.5 / evwatcher.getloop.html /

EvWatcher::getLoop

(PECL ev >= 0.2.0)

EvWatcher::getLoopReturns the loop responsible for the watcher

Description

public EvWatcher::getLoop(): EvLoop

Returns the loop responsible for the watcher

Parameters

This function has no parameters.

Return Values

Returns EvLoop event loop object responsible for the watcher.

© 1997–2021 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/evwatcher.getloop.php