<?php
namespace ContainerRXdXI6z;
include_once \dirname(__DIR__, 4).'/vendor/pimcore/pimcore/lib/Twig/Extension/Templating/Navigation.php';
class Navigation_62d2b4b extends \Pimcore\Twig\Extension\Templating\Navigation implements \ProxyManager\Proxy\VirtualProxyInterface
{
/**
* @var \Pimcore\Twig\Extension\Templating\Navigation|null wrapped object, if the proxy is initialized
*/
private $valueHolder75638 = null;
/**
* @var \Closure|null initializer responsible for generating the wrapped object
*/
private $initializerb8bad = null;
/**
* @var bool[] map of public properties of the parent class
*/
private static $publicPropertiesdbc69 = [
];
public function build(array $params) : \Pimcore\Navigation\Container
{
$this->initializerb8bad && ($this->initializerb8bad->__invoke($valueHolder75638, $this, 'build', array('params' => $params), $this->initializerb8bad) || 1) && $this->valueHolder75638 = $valueHolder75638;
return $this->valueHolder75638->build($params);
}
public function getRenderer(string $alias) : \Pimcore\Navigation\Renderer\RendererInterface
{
$this->initializerb8bad && ($this->initializerb8bad->__invoke($valueHolder75638, $this, 'getRenderer', array('alias' => $alias), $this->initializerb8bad) || 1) && $this->valueHolder75638 = $valueHolder75638;
return $this->valueHolder75638->getRenderer($alias);
}
public function render(\Pimcore\Navigation\Container $container, string $rendererName = 'menu', string $renderMethod = 'render', ... $rendererArguments)
{
$this->initializerb8bad && ($this->initializerb8bad->__invoke($valueHolder75638, $this, 'render', array('container' => $container, 'rendererName' => $rendererName, 'renderMethod' => $renderMethod, 'rendererArguments' => $rendererArguments), $this->initializerb8bad) || 1) && $this->valueHolder75638 = $valueHolder75638;
return $this->valueHolder75638->render($container, $rendererName, $renderMethod, ...$rendererArguments);
}
public function __call($method, array $arguments = []) : \Pimcore\Navigation\Renderer\RendererInterface
{
$this->initializerb8bad && ($this->initializerb8bad->__invoke($valueHolder75638, $this, '__call', array('method' => $method, 'arguments' => $arguments), $this->initializerb8bad) || 1) && $this->valueHolder75638 = $valueHolder75638;
return $this->valueHolder75638->__call($method, $arguments);
}
public function setCharset(string $charset)
{
$this->initializerb8bad && ($this->initializerb8bad->__invoke($valueHolder75638, $this, 'setCharset', array('charset' => $charset), $this->initializerb8bad) || 1) && $this->valueHolder75638 = $valueHolder75638;
return $this->valueHolder75638->setCharset($charset);
}
public function getCharset()
{
$this->initializerb8bad && ($this->initializerb8bad->__invoke($valueHolder75638, $this, 'getCharset', array(), $this->initializerb8bad) || 1) && $this->valueHolder75638 = $valueHolder75638;
return $this->valueHolder75638->getCharset();
}
/**
* 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->charset);
\Closure::bind(function (\Pimcore\Twig\Extension\Templating\Navigation $instance) {
unset($instance->builder, $instance->rendererLocator);
}, $instance, 'Pimcore\\Twig\\Extension\\Templating\\Navigation')->__invoke($instance);
$instance->initializerb8bad = $initializer;
return $instance;
}
public function __construct(\Pimcore\Navigation\Builder $builder, \Psr\Container\ContainerInterface $rendererLocator)
{
static $reflection;
if (! $this->valueHolder75638) {
$reflection = $reflection ?? new \ReflectionClass('Pimcore\\Twig\\Extension\\Templating\\Navigation');
$this->valueHolder75638 = $reflection->newInstanceWithoutConstructor();
unset($this->charset);
\Closure::bind(function (\Pimcore\Twig\Extension\Templating\Navigation $instance) {
unset($instance->builder, $instance->rendererLocator);
}, $this, 'Pimcore\\Twig\\Extension\\Templating\\Navigation')->__invoke($this);
}
$this->valueHolder75638->__construct($builder, $rendererLocator);
}
public function & __get($name)
{
$this->initializerb8bad && ($this->initializerb8bad->__invoke($valueHolder75638, $this, '__get', ['name' => $name], $this->initializerb8bad) || 1) && $this->valueHolder75638 = $valueHolder75638;
if (isset(self::$publicPropertiesdbc69[$name])) {
return $this->valueHolder75638->$name;
}
$realInstanceReflection = new \ReflectionClass('Pimcore\\Twig\\Extension\\Templating\\Navigation');
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHolder75638;
$backtrace = debug_backtrace(false, 1);
trigger_error(
sprintf(
'Undefined property: %s::$%s in %s on line %s',
$realInstanceReflection->getName(),
$name,
$backtrace[0]['file'],
$backtrace[0]['line']
),
\E_USER_NOTICE
);
return $targetObject->$name;
}
$targetObject = $this->valueHolder75638;
$accessor = function & () use ($targetObject, $name) {
return $targetObject->$name;
};
$backtrace = debug_backtrace(true, 2);
$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->initializerb8bad && ($this->initializerb8bad->__invoke($valueHolder75638, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb8bad) || 1) && $this->valueHolder75638 = $valueHolder75638;
$realInstanceReflection = new \ReflectionClass('Pimcore\\Twig\\Extension\\Templating\\Navigation');
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHolder75638;
$targetObject->$name = $value;
return $targetObject->$name;
}
$targetObject = $this->valueHolder75638;
$accessor = function & () use ($targetObject, $name, $value) {
$targetObject->$name = $value;
return $targetObject->$name;
};
$backtrace = debug_backtrace(true, 2);
$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->initializerb8bad && ($this->initializerb8bad->__invoke($valueHolder75638, $this, '__isset', array('name' => $name), $this->initializerb8bad) || 1) && $this->valueHolder75638 = $valueHolder75638;
$realInstanceReflection = new \ReflectionClass('Pimcore\\Twig\\Extension\\Templating\\Navigation');
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHolder75638;
return isset($targetObject->$name);
}
$targetObject = $this->valueHolder75638;
$accessor = function () use ($targetObject, $name) {
return isset($targetObject->$name);
};
$backtrace = debug_backtrace(true, 2);
$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->initializerb8bad && ($this->initializerb8bad->__invoke($valueHolder75638, $this, '__unset', array('name' => $name), $this->initializerb8bad) || 1) && $this->valueHolder75638 = $valueHolder75638;
$realInstanceReflection = new \ReflectionClass('Pimcore\\Twig\\Extension\\Templating\\Navigation');
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHolder75638;
unset($targetObject->$name);
return;
}
$targetObject = $this->valueHolder75638;
$accessor = function () use ($targetObject, $name) {
unset($targetObject->$name);
return;
};
$backtrace = debug_backtrace(true, 2);
$scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
$accessor = $accessor->bindTo($scopeObject, get_class($scopeObject));
$accessor();
}
public function __clone()
{
$this->initializerb8bad && ($this->initializerb8bad->__invoke($valueHolder75638, $this, '__clone', array(), $this->initializerb8bad) || 1) && $this->valueHolder75638 = $valueHolder75638;
$this->valueHolder75638 = clone $this->valueHolder75638;
}
public function __sleep()
{
$this->initializerb8bad && ($this->initializerb8bad->__invoke($valueHolder75638, $this, '__sleep', array(), $this->initializerb8bad) || 1) && $this->valueHolder75638 = $valueHolder75638;
return array('valueHolder75638');
}
public function __wakeup()
{
unset($this->charset);
\Closure::bind(function (\Pimcore\Twig\Extension\Templating\Navigation $instance) {
unset($instance->builder, $instance->rendererLocator);
}, $this, 'Pimcore\\Twig\\Extension\\Templating\\Navigation')->__invoke($this);
}
public function setProxyInitializer(\Closure $initializer = null) : void
{
$this->initializerb8bad = $initializer;
}
public function getProxyInitializer() : ?\Closure
{
return $this->initializerb8bad;
}
public function initializeProxy() : bool
{
return $this->initializerb8bad && ($this->initializerb8bad->__invoke($valueHolder75638, $this, 'initializeProxy', array(), $this->initializerb8bad) || 1) && $this->valueHolder75638 = $valueHolder75638;
}
public function isProxyInitialized() : bool
{
return null !== $this->valueHolder75638;
}
public function getWrappedValueHolderValue()
{
return $this->valueHolder75638;
}
}
if (!\class_exists('Navigation_62d2b4b', false)) {
\class_alias(__NAMESPACE__.'\\Navigation_62d2b4b', 'Navigation_62d2b4b', false);
}