mirror of
https://github.com/danog/amp.git
synced 2024-12-13 09:57:25 +01:00
18 lines
345 B
PHP
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'
|
|
);
|
|
}
|
|
}
|
|
}
|