original_string: protected function getProxyInstance(string $name, ReflectionClass $class, array $arguments, array $config)
      {
          $factory = new LazyLoadingValueHolderFactory();
          $that = $this;
  
          return $factory->createProxy(
              $class->getName(),
              function (&$wrappedObject, $proxy, $method, $parameters, &$initializer) use ($that, $name,$class,$arguments,$config) {
                  $wrappedObject = $that->getRealInstance($name, $class, $arguments, $config);
                  $initializer = null;
              }
          );
      }
code: protected function getProxyInstance(string $name, ReflectionClass $class, array $arguments, array $config)
      {
          $factory = new LazyLoadingValueHolderFactory();
          $that = $this;
  
          return $factory->createProxy(
              $class->getName(),
              function (&$wrappedObject, $proxy, $method, $parameters, &$initializer) use ($that, $name,$class,$arguments,$config) {
                  $wrappedObject = $that->getRealInstance($name, $class, $arguments, $config);
                  $initializer = null;
              }
          );
      }
code_tokens: protected function getProxyInstance ( string $ name , ReflectionClass $ class , array $ arguments , array $ config ) { $ factory = new LazyLoadingValueHolderFactory ( ) ; $ that = $ this ; return $ factory -> createProxy ( $ class -> getName ( ) , function ( & $ wrappedObject , $ proxy , $ method , $ parameters , & $ initializer ) use ( $ that , $ name , $ class , $ arguments , $ config ) { $ wrappedObject = $ that -> getRealInstance ( $ name , $ class , $ arguments , $ config ) ; $ initializer = null ; } ) ; }
docstring: Create proxy instance.
docstring_tokens: Create proxy instance .