LibEvTimerTest.php 361 B

123456789101112131415161718
  1. <?php
  2. namespace React\Tests\EventLoop\Timer;
  3. use React\EventLoop\LibEvLoop;
  4. class LibEvTimerTest extends AbstractTimerTest
  5. {
  6. public function createLoop()
  7. {
  8. if (!class_exists('libev\EventLoop')) {
  9. $this->markTestSkipped('libev tests skipped because ext-libev is not installed.');
  10. }
  11. return new LibEvLoop();
  12. }
  13. }