pixelfederation/swoole-bundle

View on GitHub
src/Component/Locking/Channel/ChannelMutexFactory.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

declare(strict_types=1);

namespace K911\Swoole\Component\Locking\Channel;

use K911\Swoole\Component\Locking\MutexFactory;

class ChannelMutexFactory implements MutexFactory
{
    public function newMutex(): ChannelMutex
    {
        return new ChannelMutex();
    }
}