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

18 lines
348 B
PHP

<?php
namespace AlertTest;
use Alert\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'
);
}
}
}