We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68732b6 commit 5d53564Copy full SHA for 5d53564
src/LibUvLoop.php
@@ -24,6 +24,10 @@ final class LibUvLoop implements LoopInterface
24
25
public function __construct()
26
{
27
+ if (!function_exists('uv_loop_new')) {
28
+ throw new BadMethodCallException('Cannot create LibUvLoop, ext-uv extension missing');
29
+ }
30
+
31
$this->uv = \uv_loop_new();
32
$this->futureTickQueue = new FutureTickQueue();
33
$this->timerEvents = new SplObjectStorage();
0 commit comments