1
0
mirror of https://github.com/danog/amp.git synced 2024-12-14 02:17:26 +01:00
amp/test/LibeventReactorTest.php
2014-09-23 00:06:03 -04:00

18 lines
358 B
PHP

<?php
namespace Amp\Test;
use Amp\LibeventReactor;
class LibeventReactorTest extends ReactorTest {
protected function getReactor() {
if (extension_loaded('libevent')) {
return new LibeventReactor;
} else {
$this->markTestSkipped(
'libevent extension not loaded'
);
}
}
}