ExtLibeventTimerTest.php 387 B

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