<?php
class ProxyResolver_7be8ebb extends \Liip\ImagineBundle\Imagine\Cache\Resolver\ProxyResolver implements \ProxyManager\Proxy\VirtualProxyInterface
{
/**
* @var \Closure|null initializer responsible for generating the wrapped object
*/
private $valueHoldere39e4 = null;
/**
* @var \Closure|null initializer responsible for generating the wrapped object
*/
private $initializeraa1bb = null;
/**
* @var bool[] map of public properties of the parent class
*/
private static $publicProperties1a37c = [
];
public function resolve($path, $filter)
{
$this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4, $this, 'resolve', array('path' => $path, 'filter' => $filter), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 = $valueHoldere39e4;
return $this->valueHoldere39e4->resolve($path, $filter);
}
public function store(\Liip\ImagineBundle\Binary\BinaryInterface $binary, $targetPath, $filter)
{
$this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4, $this, 'store', array('binary' => $binary, 'targetPath' => $targetPath, 'filter' => $filter), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 = $valueHoldere39e4;
return $this->valueHoldere39e4->store($binary, $targetPath, $filter);
}
public function isStored($path, $filter)
{
$this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4, $this, 'isStored', array('path' => $path, 'filter' => $filter), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 = $valueHoldere39e4;
return $this->valueHoldere39e4->isStored($path, $filter);
}
public function remove(array $paths, array $filters)
{
$this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4, $this, 'remove', array('paths' => $paths, 'filters' => $filters), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 = $valueHoldere39e4;
return $this->valueHoldere39e4->remove($paths, $filters);
}
/**
* Constructor for lazy initialization
*
* @param \Closure|null $initializer
*/
public static function staticProxyConstructor($initializer)
{
static $reflection;
$reflection = $reflection ?? $reflection = new \ReflectionClass(__CLASS__);
$instance = $reflection->newInstanceWithoutConstructor();
unset($instance->resolver, $instance->hosts);
$instance->initializeraa1bb = $initializer;
return $instance;
}
public function __construct(\Liip\ImagineBundle\Imagine\Cache\Resolver\ResolverInterface $resolver, array $hosts)
{
static $reflection;
if (! $this->valueHoldere39e4) {
$reflection = $reflection ?: new \ReflectionClass('Liip\\ImagineBundle\\Imagine\\Cache\\Resolver\\ProxyResolver');
$this->valueHoldere39e4 = $reflection->newInstanceWithoutConstructor();
unset($this->resolver, $this->hosts);
}
$this->valueHoldere39e4->__construct($resolver, $hosts);
}
public function & __get($name)
{
$this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4, $this, '__get', ['name' => $name], $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 = $valueHoldere39e4;
if (isset(self::$publicProperties1a37c[$name])) {
return $this->valueHoldere39e4->$name;
}
$realInstanceReflection = new \ReflectionClass(get_parent_class($this));
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHoldere39e4;
$backtrace = debug_backtrace(false);
trigger_error(
sprintf(
'Undefined property: %s::$%s in %s on line %s',
get_parent_class($this),
$name,
$backtrace[0]['file'],
$backtrace[0]['line']
),
\E_USER_NOTICE
);
return $targetObject->$name;
return;
}
$targetObject = $this->valueHoldere39e4;
$accessor = function & () use ($targetObject, $name) {
return $targetObject->$name;
};
$backtrace = debug_backtrace(true);
$scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
$accessor = $accessor->bindTo($scopeObject, get_class($scopeObject));
$returnValue = & $accessor();
return $returnValue;
}
public function __set($name, $value)
{
$this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4, $this, '__set', array('name' => $name, 'value' => $value), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 = $valueHoldere39e4;
$realInstanceReflection = new \ReflectionClass(get_parent_class($this));
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHoldere39e4;
return $targetObject->$name = $value;
return;
}
$targetObject = $this->valueHoldere39e4;
$accessor = function & () use ($targetObject, $name, $value) {
return $targetObject->$name = $value;
};
$backtrace = debug_backtrace(true);
$scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
$accessor = $accessor->bindTo($scopeObject, get_class($scopeObject));
$returnValue = & $accessor();
return $returnValue;
}
public function __isset($name)
{
$this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4, $this, '__isset', array('name' => $name), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 = $valueHoldere39e4;
$realInstanceReflection = new \ReflectionClass(get_parent_class($this));
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHoldere39e4;
return isset($targetObject->$name);
return;
}
$targetObject = $this->valueHoldere39e4;
$accessor = function () use ($targetObject, $name) {
return isset($targetObject->$name);
};
$backtrace = debug_backtrace(true);
$scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
$accessor = $accessor->bindTo($scopeObject, get_class($scopeObject));
$returnValue = $accessor();
return $returnValue;
}
public function __unset($name)
{
$this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4, $this, '__unset', array('name' => $name), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 = $valueHoldere39e4;
$realInstanceReflection = new \ReflectionClass(get_parent_class($this));
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHoldere39e4;
unset($targetObject->$name);
return;
}
$targetObject = $this->valueHoldere39e4;
$accessor = function () use ($targetObject, $name) {
unset($targetObject->$name);
};
$backtrace = debug_backtrace(true);
$scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
$accessor = $accessor->bindTo($scopeObject, get_class($scopeObject));
$returnValue = $accessor();
return $returnValue;
}
public function __clone()
{
$this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4, $this, '__clone', array(), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 = $valueHoldere39e4;
$this->valueHoldere39e4 = clone $this->valueHoldere39e4;
}
public function __sleep()
{
$this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4, $this, '__sleep', array(), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 = $valueHoldere39e4;
return array('valueHoldere39e4');
}
public function __wakeup()
{
unset($this->resolver, $this->hosts);
}
public function setProxyInitializer(\Closure $initializer = null)
{
$this->initializeraa1bb = $initializer;
}
public function getProxyInitializer()
{
return $this->initializeraa1bb;
}
public function initializeProxy() : bool
{
return $this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4, $this, 'initializeProxy', array(), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 = $valueHoldere39e4;
}
public function isProxyInitialized() : bool
{
return null !== $this->valueHoldere39e4;
}
public function getWrappedValueHolderValue() : ?object
{
return $this->valueHoldere39e4;
}
}