diff --git a/src/Loop.php b/src/Loop.php index 6b97bac..c62cf56 100644 --- a/src/Loop.php +++ b/src/Loop.php @@ -222,16 +222,6 @@ final class Loop return self::get()->supports($feature); } - /** - * Get the underlying loop handle. - * - * @return null|object|resource The loop handle the event loop operates on. Null if there is none. - */ - public static function getLoopHandle() - { - return self::get()->getLoopHandle(); - } - /** * Disable construction as this is a static class. */ diff --git a/src/LoopDriver.php b/src/LoopDriver.php index 2721543..7beeebe 100644 --- a/src/LoopDriver.php +++ b/src/LoopDriver.php @@ -157,7 +157,9 @@ interface LoopDriver * * Example: the uv_loop resource for libuv or the EvLoop object for libev or null for a native driver * + * Note: This function is *not* exposed in the Loop class; users shall access it directly on the respective loop instance. + * * @return null|object|resource The loop handle the event loop operates on. Null if there is none. */ - public static function getLoopHandle(); + public static function getHandle(); }