var/cache/dev/ContainerQ4z9KJv/HttpDispatcher_5a7a704.php line 33

Open in your IDE?
  1. <?php
  2. namespace ContainerQ4z9KJv;
  3. include_once \dirname(__DIR__4).'/vendor/friendsofsymfony/http-cache/src/ProxyClient/Dispatcher.php';
  4. include_once \dirname(__DIR__4).'/vendor/friendsofsymfony/http-cache/src/ProxyClient/HttpDispatcher.php';
  5. class HttpDispatcher_5a7a704 extends \FOS\HttpCache\ProxyClient\HttpDispatcher implements \ProxyManager\Proxy\VirtualProxyInterface
  6. {
  7.     /**
  8.      * @var \FOS\HttpCache\ProxyClient\HttpDispatcher|null wrapped object, if the proxy is initialized
  9.      */
  10.     private $valueHolder351bd null;
  11.     /**
  12.      * @var \Closure|null initializer responsible for generating the wrapped object
  13.      */
  14.     private $initializer779d1 null;
  15.     /**
  16.      * @var bool[] map of public properties of the parent class
  17.      */
  18.     private static $publicProperties8ebfa = [
  19.         
  20.     ];
  21.     public function invalidate(\Psr\Http\Message\RequestInterface $invalidationRequest$validateHost true)
  22.     {
  23.         $this->initializer779d1 && ($this->initializer779d1->__invoke($valueHolder351bd$this'invalidate', array('invalidationRequest' => $invalidationRequest'validateHost' => $validateHost), $this->initializer779d1) || 1) && $this->valueHolder351bd $valueHolder351bd;
  24.         return $this->valueHolder351bd->invalidate($invalidationRequest$validateHost);
  25.     }
  26.     public function flush()
  27.     {
  28.         $this->initializer779d1 && ($this->initializer779d1->__invoke($valueHolder351bd$this'flush', array(), $this->initializer779d1) || 1) && $this->valueHolder351bd $valueHolder351bd;
  29.         return $this->valueHolder351bd->flush();
  30.     }
  31.     /**
  32.      * Constructor for lazy initialization
  33.      *
  34.      * @param \Closure|null $initializer
  35.      */
  36.     public static function staticProxyConstructor($initializer)
  37.     {
  38.         static $reflection;
  39.         $reflection $reflection ?? new \ReflectionClass(__CLASS__);
  40.         $instance   $reflection->newInstanceWithoutConstructor();
  41.         \Closure::bind(function (\FOS\HttpCache\ProxyClient\HttpDispatcher $instance) {
  42.             unset($instance->httpClient$instance->uriFactory$instance->queue$instance->servers$instance->baseUri);
  43.         }, $instance'FOS\\HttpCache\\ProxyClient\\HttpDispatcher')->__invoke($instance);
  44.         $instance->initializer779d1 $initializer;
  45.         return $instance;
  46.     }
  47.     public function __construct(array $servers$baseUri '', ?\Http\Client\HttpAsyncClient $httpClient null, ?\Http\Message\UriFactory $uriFactory null)
  48.     {
  49.         static $reflection;
  50.         if (! $this->valueHolder351bd) {
  51.             $reflection $reflection ?? new \ReflectionClass('FOS\\HttpCache\\ProxyClient\\HttpDispatcher');
  52.             $this->valueHolder351bd $reflection->newInstanceWithoutConstructor();
  53.         \Closure::bind(function (\FOS\HttpCache\ProxyClient\HttpDispatcher $instance) {
  54.             unset($instance->httpClient$instance->uriFactory$instance->queue$instance->servers$instance->baseUri);
  55.         }, $this'FOS\\HttpCache\\ProxyClient\\HttpDispatcher')->__invoke($this);
  56.         }
  57.         $this->valueHolder351bd->__construct($servers$baseUri$httpClient$uriFactory);
  58.     }
  59.     public function & __get($name)
  60.     {
  61.         $this->initializer779d1 && ($this->initializer779d1->__invoke($valueHolder351bd$this'__get', ['name' => $name], $this->initializer779d1) || 1) && $this->valueHolder351bd $valueHolder351bd;
  62.         if (isset(self::$publicProperties8ebfa[$name])) {
  63.             return $this->valueHolder351bd->$name;
  64.         }
  65.         $realInstanceReflection = new \ReflectionClass('FOS\\HttpCache\\ProxyClient\\HttpDispatcher');
  66.         if (! $realInstanceReflection->hasProperty($name)) {
  67.             $targetObject $this->valueHolder351bd;
  68.             $backtrace debug_backtrace(false1);
  69.             trigger_error(
  70.                 sprintf(
  71.                     'Undefined property: %s::$%s in %s on line %s',
  72.                     $realInstanceReflection->getName(),
  73.                     $name,
  74.                     $backtrace[0]['file'],
  75.                     $backtrace[0]['line']
  76.                 ),
  77.                 \E_USER_NOTICE
  78.             );
  79.             return $targetObject->$name;
  80.         }
  81.         $targetObject $this->valueHolder351bd;
  82.         $accessor = function & () use ($targetObject$name) {
  83.             return $targetObject->$name;
  84.         };
  85.         $backtrace debug_backtrace(true2);
  86.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  87.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  88.         $returnValue = & $accessor();
  89.         return $returnValue;
  90.     }
  91.     public function __set($name$value)
  92.     {
  93.         $this->initializer779d1 && ($this->initializer779d1->__invoke($valueHolder351bd$this'__set', array('name' => $name'value' => $value), $this->initializer779d1) || 1) && $this->valueHolder351bd $valueHolder351bd;
  94.         $realInstanceReflection = new \ReflectionClass('FOS\\HttpCache\\ProxyClient\\HttpDispatcher');
  95.         if (! $realInstanceReflection->hasProperty($name)) {
  96.             $targetObject $this->valueHolder351bd;
  97.             $targetObject->$name $value;
  98.             return $targetObject->$name;
  99.         }
  100.         $targetObject $this->valueHolder351bd;
  101.         $accessor = function & () use ($targetObject$name$value) {
  102.             $targetObject->$name $value;
  103.             return $targetObject->$name;
  104.         };
  105.         $backtrace debug_backtrace(true2);
  106.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  107.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  108.         $returnValue = & $accessor();
  109.         return $returnValue;
  110.     }
  111.     public function __isset($name)
  112.     {
  113.         $this->initializer779d1 && ($this->initializer779d1->__invoke($valueHolder351bd$this'__isset', array('name' => $name), $this->initializer779d1) || 1) && $this->valueHolder351bd $valueHolder351bd;
  114.         $realInstanceReflection = new \ReflectionClass('FOS\\HttpCache\\ProxyClient\\HttpDispatcher');
  115.         if (! $realInstanceReflection->hasProperty($name)) {
  116.             $targetObject $this->valueHolder351bd;
  117.             return isset($targetObject->$name);
  118.         }
  119.         $targetObject $this->valueHolder351bd;
  120.         $accessor = function () use ($targetObject$name) {
  121.             return isset($targetObject->$name);
  122.         };
  123.         $backtrace debug_backtrace(true2);
  124.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  125.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  126.         $returnValue $accessor();
  127.         return $returnValue;
  128.     }
  129.     public function __unset($name)
  130.     {
  131.         $this->initializer779d1 && ($this->initializer779d1->__invoke($valueHolder351bd$this'__unset', array('name' => $name), $this->initializer779d1) || 1) && $this->valueHolder351bd $valueHolder351bd;
  132.         $realInstanceReflection = new \ReflectionClass('FOS\\HttpCache\\ProxyClient\\HttpDispatcher');
  133.         if (! $realInstanceReflection->hasProperty($name)) {
  134.             $targetObject $this->valueHolder351bd;
  135.             unset($targetObject->$name);
  136.             return;
  137.         }
  138.         $targetObject $this->valueHolder351bd;
  139.         $accessor = function () use ($targetObject$name) {
  140.             unset($targetObject->$name);
  141.             return;
  142.         };
  143.         $backtrace debug_backtrace(true2);
  144.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  145.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  146.         $accessor();
  147.     }
  148.     public function __clone()
  149.     {
  150.         $this->initializer779d1 && ($this->initializer779d1->__invoke($valueHolder351bd$this'__clone', array(), $this->initializer779d1) || 1) && $this->valueHolder351bd $valueHolder351bd;
  151.         $this->valueHolder351bd = clone $this->valueHolder351bd;
  152.     }
  153.     public function __sleep()
  154.     {
  155.         $this->initializer779d1 && ($this->initializer779d1->__invoke($valueHolder351bd$this'__sleep', array(), $this->initializer779d1) || 1) && $this->valueHolder351bd $valueHolder351bd;
  156.         return array('valueHolder351bd');
  157.     }
  158.     public function __wakeup()
  159.     {
  160.         \Closure::bind(function (\FOS\HttpCache\ProxyClient\HttpDispatcher $instance) {
  161.             unset($instance->httpClient$instance->uriFactory$instance->queue$instance->servers$instance->baseUri);
  162.         }, $this'FOS\\HttpCache\\ProxyClient\\HttpDispatcher')->__invoke($this);
  163.     }
  164.     public function setProxyInitializer(\Closure $initializer null) : void
  165.     {
  166.         $this->initializer779d1 $initializer;
  167.     }
  168.     public function getProxyInitializer() : ?\Closure
  169.     {
  170.         return $this->initializer779d1;
  171.     }
  172.     public function initializeProxy() : bool
  173.     {
  174.         return $this->initializer779d1 && ($this->initializer779d1->__invoke($valueHolder351bd$this'initializeProxy', array(), $this->initializer779d1) || 1) && $this->valueHolder351bd $valueHolder351bd;
  175.     }
  176.     public function isProxyInitialized() : bool
  177.     {
  178.         return null !== $this->valueHolder351bd;
  179.     }
  180.     public function getWrappedValueHolderValue()
  181.     {
  182.         return $this->valueHolder351bd;
  183.     }
  184. }
  185. if (!\class_exists('HttpDispatcher_5a7a704'false)) {
  186.     \class_alias(__NAMESPACE__.'\\HttpDispatcher_5a7a704''HttpDispatcher_5a7a704'false);
  187. }