1
0
mirror of https://github.com/danog/amp.git synced 2024-12-13 09:57:25 +01:00
amp/test/UvReactorTest.php
2014-09-23 00:06:03 -04:00

18 lines
345 B
PHP

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