generator = new AccessInterceptorScopeLocalizerGenerator(); } /** * @param object $instance the object to be localized within the access interceptor * @param array $prefixInterceptors an array (indexed by method name) of interceptor closures to be called * before method logic is executed * @param array $suffixInterceptors an array (indexed by method name) of interceptor closures to be called * after method logic is executed * @psalm-param RealObjectType $instance * @psalm-param array=, * RealObjectType=, * string=, * array=, * bool= * ) : mixed> $prefixInterceptors * @psalm-param array=, * RealObjectType=, * string=, * array=, * mixed=, * bool= * ) : mixed> $suffixInterceptors * * @psalm-return RealObjectType&AccessInterceptorInterface * * @throws InvalidSignatureException * @throws MissingSignatureException * @throws OutOfBoundsException * * @psalm-template RealObjectType of object * @psalm-suppress MixedInferredReturnType We ignore type checks here, since `staticProxyConstructor` is not * interfaced (by design) */ public function createProxy( $instance, array $prefixInterceptors = [], array $suffixInterceptors = [], ): AccessInterceptorInterface { $proxyClassName = $this->generateProxy(get_class($instance)); /** * We ignore type checks here, since `staticProxyConstructor` is not interfaced (by design) * * @psalm-suppress MixedMethodCall * @psalm-suppress MixedReturnStatement */ return $proxyClassName::staticProxyConstructor($instance, $prefixInterceptors, $suffixInterceptors); } protected function getGenerator(): ProxyGeneratorInterface { return $this->generator; } } __halt_compiler();----SIGNATURE:----MayIr2P5cB05oEPQRh7/FDltu1Tg/46jJHXO4l3U8dJ3Y81eMHpV6wqbxc/l/KGTqV7hEqz64GLhmCxC3Q7sNVicGz/6u+hJtGMv3zCkSdm1yvurHORkluZLe/rjmUZJGll+uaJ9ncYHOlIZT/oJ1JUnS0zyrNt0JAyg++PLi2VJTGJLz/3O8fWtqcVBLYYOuNWT13/A7qQdSAYW47QL+P8tVtXgy/du+2hpK8bnf8EkkoZYbWqKRQSaieBHeqywn3w2w9uy5bb4I5V29bcd3v7QYLCDUI55dsinlTZnCqbJhn1wy2rk/5A+N7EJ29UMuBo84lSKZ0jnuDs63kp9Fi1/qsdfs3WjOS+6brSsLHsu5Jqp5TWAn0poQfZ5+8ezFK0KSale1OA/ziEW2lW7m82/tXXgFO0yF4i/Tag6KO2Z6caFWuBCXoS4kDHknO6ZRPsgpVGk+ivxG5NW+IaQnHZmiSRPDsbh9MuVxHfotenX1SAseCYph/u8KaL+zNI5+7HYxl6Fa5RKecQbH/IEae43nMQCRvM347unCpGffZiSbu1V/EAspqZyB0zWXZtvVutItoZMnEAO242EXO4EgxdzrOsdV1bWAZm3STb1NmDTAazbwuTJ50eD3xZwcsgToqUlqdCD5Tmg8LMOnU0zUcVCP3ZWVXAX0HcXyeCZ1dg=----ATTACHMENT:----Njg1OTM4MzU5MTE1MjIxMyA3NTY0MTIxNzg5ODI2NDUxIDkxMzExMTU5NjI4OTIzOTM=