src/Bridge/Symfony/Container/Proxy/ContextualProxy.php
<?php
declare(strict_types=1);
namespace K911\Swoole\Bridge\Symfony\Container\Proxy;
use K911\Swoole\Bridge\Symfony\Container\ServicePool\ServicePool;
/**
* @template RealObjectType of object
*/
interface ContextualProxy
{
/**
* @return ServicePool<RealObjectType>
*/
public function getServicePool(): ServicePool;
/**
* @param ServicePool<RealObjectType> $servicePool
*
* @return ContextualProxy<RealObjectType>&RealObjectType
*/
public static function staticProxyConstructor(ServicePool $servicePool): object;
}