<?php
namespace ContainerAdnmLsv;
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 $valueHolder0dd74 = null;
/**
* @var \Closure|null initializer responsible for generating the wrapped object
*/
private $initializer81f49 = null;
/**
* @var bool[] map of public properties of the parent class
*/
private static $publicPropertiesf4d72 = [
];
public function build(array $params) : \Pimcore\Navigation\Container
{
$this->initializer81f49 && ($this->initializer81f49->__invoke($valueHolder0dd74, $this, 'build', array('params' => $params), $this->initializer81f49) || 1) && $this->valueHolder0dd74 = $valueHolder0dd74;
return $this->valueHolder0dd74->build($params);
}
public function getRenderer(string $alias) : \Pimcore\Navigation\Renderer\RendererInterface
{
$this->initializer81f49 && ($this->initializer81f49->__invoke($valueHolder0dd74, $this, 'getRenderer', array('alias' => $alias), $this->initializer81f49) || 1) && $this->valueHolder0dd74 = $valueHolder0dd74;
return $this->valueHolder0dd74->getRenderer($alias);
}
public function render(\Pimcore\Navigation\Container $container, string $rendererName = 'menu', string $renderMethod = 'render', ... $rendererArguments)
{
$this->initializer81f49 && ($this->initializer81f49->__invoke($valueHolder0dd74, $this, 'render', array('container' => $container, 'rendererName' => $rendererName, 'renderMethod' => $renderMethod, 'rendererArguments' => $rendererArguments), $this->initializer81f49) || 1) && $this->valueHolder0dd74 = $valueHolder0dd74;
return $this->valueHolder0dd74->render($container, $rendererName, $renderMethod, ...$rendererArguments);
}
public function __call($method, array $arguments = []) : \Pimcore\Navigation\Renderer\RendererInterface
{
$this->initializer81f49 && ($this->initializer81f49->__invoke($valueHolder0dd74, $this, '__call', array('method' => $method, 'arguments' => $arguments), $this->initializer81f49) || 1) && $this->valueHolder0dd74 = $valueHolder0dd74;
return $this->valueHolder0dd74->__call($method, $arguments);
}
public function setCharset(string $charset)
{
$this->initializer81f49 && ($this->initializer81f49->__invoke($valueHolder0dd74, $this, 'setCharset', array('charset' => $charset), $this->initializer81f49) || 1) && $this->valueHolder0dd74 = $valueHolder0dd74;
return $this->valueHolder0dd74->setCharset($charset);
}
public function getCharset()
{
$this->initializer81f49 && ($this->initializer81f49->__invoke($valueHolder0dd74, $this, 'getCharset', array(), $this->initializer81f49) || 1) && $this->valueHolder0dd74 = $valueHolder0dd74;
return $this->valueHolder0dd74->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->initializer81f49 = $initializer;
return $instance;
}
public function __construct(\Pimcore\Navigation\Builder $builder, \Psr\Container\ContainerInterface $rendererLocator)
{
static $reflection;
if (! $this->valueHolder0dd74) {
$reflection = $reflection ?? new \ReflectionClass('Pimcore\\Twig\\Extension\\Templating\\Navigation');
$this->valueHolder0dd74 = $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->valueHolder0dd74->__construct($builder, $rendererLocator);
}
public function & __get($name)
{
$this->initializer81f49 && ($this->initializer81f49->__invoke($valueHolder0dd74, $this, '__get', ['name' => $name], $this->initializer81f49) || 1) && $this->valueHolder0dd74 = $valueHolder0dd74;
if (isset(self::$publicPropertiesf4d72[$name])) {
return $this->valueHolder0dd74->$name;
}
$realInstanceReflection = new \ReflectionClass('Pimcore\\Twig\\Extension\\Templating\\Navigation');
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHolder0dd74;
$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->valueHolder0dd74;
$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->initializer81f49 && ($this->initializer81f49->__invoke($valueHolder0dd74, $this, '__set', array('name' => $name, 'value' => $value), $this->initializer81f49) || 1) && $this->valueHolder0dd74 = $valueHolder0dd74;
$realInstanceReflection = new \ReflectionClass('Pimcore\\Twig\\Extension\\Templating\\Navigation');
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHolder0dd74;
$targetObject->$name = $value;
return $targetObject->$name;
}
$targetObject = $this->valueHolder0dd74;
$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->initializer81f49 && ($this->initializer81f49->__invoke($valueHolder0dd74, $this, '__isset', array('name' => $name), $this->initializer81f49) || 1) && $this->valueHolder0dd74 = $valueHolder0dd74;
$realInstanceReflection = new \ReflectionClass('Pimcore\\Twig\\Extension\\Templating\\Navigation');
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHolder0dd74;
return isset($targetObject->$name);
}
$targetObject = $this->valueHolder0dd74;
$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->initializer81f49 && ($this->initializer81f49->__invoke($valueHolder0dd74, $this, '__unset', array('name' => $name), $this->initializer81f49) || 1) && $this->valueHolder0dd74 = $valueHolder0dd74;
$realInstanceReflection = new \ReflectionClass('Pimcore\\Twig\\Extension\\Templating\\Navigation');
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHolder0dd74;
unset($targetObject->$name);
return;
}
$targetObject = $this->valueHolder0dd74;
$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->initializer81f49 && ($this->initializer81f49->__invoke($valueHolder0dd74, $this, '__clone', array(), $this->initializer81f49) || 1) && $this->valueHolder0dd74 = $valueHolder0dd74;
$this->valueHolder0dd74 = clone $this->valueHolder0dd74;
}
public function __sleep()
{
$this->initializer81f49 && ($this->initializer81f49->__invoke($valueHolder0dd74, $this, '__sleep', array(), $this->initializer81f49) || 1) && $this->valueHolder0dd74 = $valueHolder0dd74;
return array('valueHolder0dd74');
}
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->initializer81f49 = $initializer;
}
public function getProxyInitializer() : ?\Closure
{
return $this->initializer81f49;
}
public function initializeProxy() : bool
{
return $this->initializer81f49 && ($this->initializer81f49->__invoke($valueHolder0dd74, $this, 'initializeProxy', array(), $this->initializer81f49) || 1) && $this->valueHolder0dd74 = $valueHolder0dd74;
}
public function isProxyInitialized() : bool
{
return null !== $this->valueHolder0dd74;
}
public function getWrappedValueHolderValue()
{
return $this->valueHolder0dd74;
}
}
if (!\class_exists('Navigation_62d2b4b', false)) {
\class_alias(__NAMESPACE__.'\\Navigation_62d2b4b', 'Navigation_62d2b4b', false);
}