1
0
mirror of https://github.com/danog/amp.git synced 2024-12-12 01:19:46 +01:00
amp/test/LibeventReactorTest.php
2015-07-20 22:27:11 -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"
);
}
}
}