code: public function createProxy(string $className, Closure $initializer): object
      {
          $proxyClassName = $this->generateProxy($className);
  
          return new $proxyClassName($this->beanId, $initializer);
      }
docs: @param string  $className
  @param Closure $initializer
  
  @return object