adapter = $adapter; $this->generator = new RemoteObjectGenerator(); } /** * @psalm-param RealObjectType|class-string $instanceOrClassName * * @psalm-return RealObjectType&RemoteObjectInterface * * @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($instanceOrClassName): RemoteObjectInterface { $proxyClassName = $this->generateProxy( is_object($instanceOrClassName) ? get_class($instanceOrClassName) : $instanceOrClassName ); /** * We ignore type checks here, since `staticProxyConstructor` is not interfaced (by design) * * @psalm-suppress MixedMethodCall * @psalm-suppress MixedReturnStatement */ return $proxyClassName::staticProxyConstructor($this->adapter); } protected function getGenerator(): ProxyGeneratorInterface { return $this->generator ?? $this->generator = new RemoteObjectGenerator(); } } __halt_compiler();----SIGNATURE:----pv8F1pdafp2Snv+yFuDDHfWLGRRvzgEvazgauHNf31Rfb+R2i7AZpOJGEt/1ZLxui/nYXsa3iPOUaoVDntJL4TbZbW2FYjjY8/QdYrzv7mSk9iEdlkM4FtF8dqZdkQGf9R6EaAgKk4fWPyx+Yd9sKDKQ33ONI4ZNWLiN3NDrXJyLS8zNYWgZqA0Gwe2J2VfnLsSnxNJ7VC4dKCemlDQt8C5DcD97Pgpz+OnUgndxLmPanyXXgkHQCHra+GTl9+4iKhyadav/1/3kerAg7jIcGJbXCzyo0+qftSbwKjz191dXsDVTicTahvfvP1n5CO5w5hyG0hhjmNgM34FPbe+rCi0XuyEm9BE2Me+4sBNBPHU4Tg6oBCe6PYkcly38wAnT45JA4qzQGo94fD4OMBZlXce+MzDt9IINA3yvdiHs4BR10LiIV0vyIbiEx0CG/g574flToRLADgbbj8Ooj/PcDjra88dmEgzHQw+mUpRlYGniZp5hS5BUrx99PbHP7S26wcM9A5aZLobkBu//TKXOuHYll/QqeP4prF+YbkkAp5MT0VTdvs4oxMERxaouWtChH711HTWMqgeYNOdjMPnD4CWPmHSdClO/WkkoOVqgMJgwH6CEPJ/Tbh7ZZ/kO87oiUhn2NmWEIR2iKsxhNmWLnr1cVlmr/U+vkaFXGSx/048=----ATTACHMENT:----NDUxMzk2MzY1MDAwMDgxNyA2NzMwMjI0MzYzNTQzMTgxIDMyMTk0NzA0OTU5ODM0MDE=