for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
// 17.02.23
namespace AlecRabbit\Spinner\Core\Loop;
use AlecRabbit\Spinner\Core\Loop\A\ALoopProbe;
use AlecRabbit\Spinner\Core\Loop\Contract\ILoop;
use Revolt\EventLoop;
use function class_exists;
class RevoltLoopProbe extends ALoopProbe
{
public static function isSupported(): bool
return class_exists(EventLoop::class);
}
public static function createLoop(): ILoop
return new RevoltLoopAdapter();