var/cache/dev/ContainerXos7vnb/ProxyResolver_7be8ebb.php line 41

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