1
0
mirror of https://github.com/danog/amp.git synced 2024-12-03 18:07:57 +01:00

getLoopHandle() => getHandle() on Driver only

This commit is contained in:
Bob Weinand 2016-05-21 01:31:18 +02:00
parent 07d3408743
commit a020880d53
2 changed files with 3 additions and 11 deletions

View File

@ -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.
*/

View File

@ -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();
}