<?php
include_once \dirname(__DIR__, 4).'/vendor/pimcore/pimcore/lib/Twig/Extension/SubrequestExtension.php';
class SubrequestExtension_ac4dffd extends \Pimcore\Twig\Extension\SubrequestExtension implements \ProxyManager\Proxy\VirtualProxyInterface
{
/**
* @var \Closure|null initializer responsible for generating the wrapped object
*/
private $valueHolderccc86 = null;
/**
* @var \Closure|null initializer responsible for generating the wrapped object
*/
private $initializerdd193 = null;
/**
* @var bool[] map of public properties of the parent class
*/
private static $publicProperties1213a = [
];
public function getFunctions()
{
$this->initializerdd193 && ($this->initializerdd193->__invoke($valueHolderccc86, $this, 'getFunctions', array(), $this->initializerdd193) || 1) && $this->valueHolderccc86 = $valueHolderccc86;
return $this->valueHolderccc86->getFunctions();
}
public function getTokenParsers()
{
$this->initializerdd193 && ($this->initializerdd193->__invoke($valueHolderccc86, $this, 'getTokenParsers', array(), $this->initializerdd193) || 1) && $this->valueHolderccc86 = $valueHolderccc86;
return $this->valueHolderccc86->getTokenParsers();
}
public function getNodeVisitors()
{
$this->initializerdd193 && ($this->initializerdd193->__invoke($valueHolderccc86, $this, 'getNodeVisitors', array(), $this->initializerdd193) || 1) && $this->valueHolderccc86 = $valueHolderccc86;
return $this->valueHolderccc86->getNodeVisitors();
}
public function getFilters()
{
$this->initializerdd193 && ($this->initializerdd193->__invoke($valueHolderccc86, $this, 'getFilters', array(), $this->initializerdd193) || 1) && $this->valueHolderccc86 = $valueHolderccc86;
return $this->valueHolderccc86->getFilters();
}
public function getTests()
{
$this->initializerdd193 && ($this->initializerdd193->__invoke($valueHolderccc86, $this, 'getTests', array(), $this->initializerdd193) || 1) && $this->valueHolderccc86 = $valueHolderccc86;
return $this->valueHolderccc86->getTests();
}
public function getOperators()
{
$this->initializerdd193 && ($this->initializerdd193->__invoke($valueHolderccc86, $this, 'getOperators', array(), $this->initializerdd193) || 1) && $this->valueHolderccc86 = $valueHolderccc86;
return $this->valueHolderccc86->getOperators();
}
/**
* Constructor for lazy initialization
*
* @param \Closure|null $initializer
*/
public static function staticProxyConstructor($initializer)
{
static $reflection;
$reflection = $reflection ?? new \ReflectionClass(__CLASS__);
$instance = $reflection->newInstanceWithoutConstructor();
unset($instance->incHelper, $instance->actionHelper);
$instance->initializerdd193 = $initializer;
return $instance;
}
public function __construct(\Pimcore\Templating\Helper\Inc $incHelper, \Pimcore\Templating\Helper\Action $actionHelper)
{
static $reflection;
if (! $this->valueHolderccc86) {
$reflection = $reflection ?? new \ReflectionClass('Pimcore\\Twig\\Extension\\SubrequestExtension');
$this->valueHolderccc86 = $reflection->newInstanceWithoutConstructor();
unset($this->incHelper, $this->actionHelper);
}
$this->valueHolderccc86->__construct($incHelper, $actionHelper);
}
public function & __get($name)
{
$this->initializerdd193 && ($this->initializerdd193->__invoke($valueHolderccc86, $this, '__get', ['name' => $name], $this->initializerdd193) || 1) && $this->valueHolderccc86 = $valueHolderccc86;
if (isset(self::$publicProperties1213a[$name])) {
return $this->valueHolderccc86->$name;
}
$realInstanceReflection = new \ReflectionClass(get_parent_class($this));
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHolderccc86;
$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->valueHolderccc86;
$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->initializerdd193 && ($this->initializerdd193->__invoke($valueHolderccc86, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerdd193) || 1) && $this->valueHolderccc86 = $valueHolderccc86;
$realInstanceReflection = new \ReflectionClass(get_parent_class($this));
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHolderccc86;
return $targetObject->$name = $value;
return;
}
$targetObject = $this->valueHolderccc86;
$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->initializerdd193 && ($this->initializerdd193->__invoke($valueHolderccc86, $this, '__isset', array('name' => $name), $this->initializerdd193) || 1) && $this->valueHolderccc86 = $valueHolderccc86;
$realInstanceReflection = new \ReflectionClass(get_parent_class($this));
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHolderccc86;
return isset($targetObject->$name);
return;
}
$targetObject = $this->valueHolderccc86;
$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->initializerdd193 && ($this->initializerdd193->__invoke($valueHolderccc86, $this, '__unset', array('name' => $name), $this->initializerdd193) || 1) && $this->valueHolderccc86 = $valueHolderccc86;
$realInstanceReflection = new \ReflectionClass(get_parent_class($this));
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHolderccc86;
unset($targetObject->$name);
return;
}
$targetObject = $this->valueHolderccc86;
$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->initializerdd193 && ($this->initializerdd193->__invoke($valueHolderccc86, $this, '__clone', array(), $this->initializerdd193) || 1) && $this->valueHolderccc86 = $valueHolderccc86;
$this->valueHolderccc86 = clone $this->valueHolderccc86;
}
public function __sleep()
{
$this->initializerdd193 && ($this->initializerdd193->__invoke($valueHolderccc86, $this, '__sleep', array(), $this->initializerdd193) || 1) && $this->valueHolderccc86 = $valueHolderccc86;
return array('valueHolderccc86');
}
public function __wakeup()
{
unset($this->incHelper, $this->actionHelper);
}
public function setProxyInitializer(\Closure $initializer = null)
{
$this->initializerdd193 = $initializer;
}
public function getProxyInitializer()
{
return $this->initializerdd193;
}
public function initializeProxy() : bool
{
return $this->initializerdd193 && ($this->initializerdd193->__invoke($valueHolderccc86, $this, 'initializeProxy', array(), $this->initializerdd193) || 1) && $this->valueHolderccc86 = $valueHolderccc86;
}
public function isProxyInitialized() : bool
{
return null !== $this->valueHolderccc86;
}
public function getWrappedValueHolderValue() : ?object
{
return $this->valueHolderccc86;
}
}