generator = new AccessInterceptorValueHolderGenerator(); } /** * @param object $instance the object to be wrapped within the value holder * @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&ValueHolderInterface&AccessInterceptorValueHolderInterface * * @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 = [], ): AccessInterceptorValueHolderInterface { $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:----jIK9Rr1YeiIN1Lt//sgRhtFmjaAiyW0Ncfg+pjbZeLH9Uy7d6nU4JCFmebji1h7uiJRcNNBO0ksXJiaMANDY1NA4CDHXPPGYy42SDiBYRpSMGNgtd5ldzDr5E/s7ljJ5LufUIi1eg1LYge6yqKX9vT+ij8veg1dZGqckjLAY3xjekjEOSCPi+sG2Jh0569ObBFUn4gfV6V7RQk++pGfIlvW5QUZCfLQE0fQoLQwrXNdhjA9yOxkKclDOezS5nUEDWLe+qN5LOonEixEmxpkpun/vjHSLkW/croqz92214fgB4zGad8v3gYVC7MH1wcrLfdrpm5f7srG5zhU82eI+0roqVzf42znK7KRBxj8iyhgnlNMDzXF/HgWIEnM1pVv78+gyP/DejK305sIiEfewJ8z+hFNMnG9vzFT2G/R9H8li23AGtJ3YLt3raA+LscvjUgbVWpNHyX9Hkchct1oj/j+YQE0hnIdIqwUBJm7nAKRFfCwGg5S0gVleCOSSPNKARzBF0qIA5dilzK4HrY2z181Nhh9rvAUsxVp93ojJC9Hcoa+/vGGMPlWX7FiOEY6rxoIGW2XXvPtb8zxhzpB2vMknjEdfgySMfJkO2pB34PVIfCXF0q6t9KsRdh8yJKT9zUYeZT/qZxGar+nsZ11Wy37d3IoULAxPyTk5XCkwlFU=----ATTACHMENT:----MzEwODI2ODYwNTU4Mjg3MCA0MDQ4NzAxMzgzODI2NjQxIDM5OTgzMDE0MzE2NDUzNzY=