pixelfederation/swoole-bundle

View on GitHub
src/Bridge/Symfony/Container/ServicePool/ServicePool.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

declare(strict_types=1);

namespace K911\Swoole\Bridge\Symfony\Container\ServicePool;

/**
 * @template T of object
 */
interface ServicePool
{
    /**
     * @return T
     */
    public function get(): object;

    public function releaseFromCoroutine(int $cId): void;
}