var/cache/dev/ContainerRXdXI6z/Navigation_62d2b4b.php line 39

Open in your IDE?
  1. <?php
  2. namespace ContainerRXdXI6z;
  3. include_once \dirname(__DIR__4).'/vendor/pimcore/pimcore/lib/Twig/Extension/Templating/Navigation.php';
  4. class Navigation_62d2b4b extends \Pimcore\Twig\Extension\Templating\Navigation implements \ProxyManager\Proxy\VirtualProxyInterface
  5. {
  6.     /**
  7.      * @var \Pimcore\Twig\Extension\Templating\Navigation|null wrapped object, if the proxy is initialized
  8.      */
  9.     private $valueHolder75638 null;
  10.     /**
  11.      * @var \Closure|null initializer responsible for generating the wrapped object
  12.      */
  13.     private $initializerb8bad null;
  14.     /**
  15.      * @var bool[] map of public properties of the parent class
  16.      */
  17.     private static $publicPropertiesdbc69 = [
  18.         
  19.     ];
  20.     public function build(array $params) : \Pimcore\Navigation\Container
  21.     {
  22.         $this->initializerb8bad && ($this->initializerb8bad->__invoke($valueHolder75638$this'build', array('params' => $params), $this->initializerb8bad) || 1) && $this->valueHolder75638 $valueHolder75638;
  23.         return $this->valueHolder75638->build($params);
  24.     }
  25.     public function getRenderer(string $alias) : \Pimcore\Navigation\Renderer\RendererInterface
  26.     {
  27.         $this->initializerb8bad && ($this->initializerb8bad->__invoke($valueHolder75638$this'getRenderer', array('alias' => $alias), $this->initializerb8bad) || 1) && $this->valueHolder75638 $valueHolder75638;
  28.         return $this->valueHolder75638->getRenderer($alias);
  29.     }
  30.     public function render(\Pimcore\Navigation\Container $containerstring $rendererName 'menu'string $renderMethod 'render', ... $rendererArguments)
  31.     {
  32.         $this->initializerb8bad && ($this->initializerb8bad->__invoke($valueHolder75638$this'render', array('container' => $container'rendererName' => $rendererName'renderMethod' => $renderMethod'rendererArguments' => $rendererArguments), $this->initializerb8bad) || 1) && $this->valueHolder75638 $valueHolder75638;
  33.         return $this->valueHolder75638->render($container$rendererName$renderMethod, ...$rendererArguments);
  34.     }
  35.     public function __call($method, array $arguments = []) : \Pimcore\Navigation\Renderer\RendererInterface
  36.     {
  37.         $this->initializerb8bad && ($this->initializerb8bad->__invoke($valueHolder75638$this'__call', array('method' => $method'arguments' => $arguments), $this->initializerb8bad) || 1) && $this->valueHolder75638 $valueHolder75638;
  38.         return $this->valueHolder75638->__call($method$arguments);
  39.     }
  40.     public function setCharset(string $charset)
  41.     {
  42.         $this->initializerb8bad && ($this->initializerb8bad->__invoke($valueHolder75638$this'setCharset', array('charset' => $charset), $this->initializerb8bad) || 1) && $this->valueHolder75638 $valueHolder75638;
  43.         return $this->valueHolder75638->setCharset($charset);
  44.     }
  45.     public function getCharset()
  46.     {
  47.         $this->initializerb8bad && ($this->initializerb8bad->__invoke($valueHolder75638$this'getCharset', array(), $this->initializerb8bad) || 1) && $this->valueHolder75638 $valueHolder75638;
  48.         return $this->valueHolder75638->getCharset();
  49.     }
  50.     /**
  51.      * Constructor for lazy initialization
  52.      *
  53.      * @param \Closure|null $initializer
  54.      */
  55.     public static function staticProxyConstructor($initializer)
  56.     {
  57.         static $reflection;
  58.         $reflection $reflection ?? new \ReflectionClass(__CLASS__);
  59.         $instance   $reflection->newInstanceWithoutConstructor();
  60.         unset($instance->charset);
  61.         \Closure::bind(function (\Pimcore\Twig\Extension\Templating\Navigation $instance) {
  62.             unset($instance->builder$instance->rendererLocator);
  63.         }, $instance'Pimcore\\Twig\\Extension\\Templating\\Navigation')->__invoke($instance);
  64.         $instance->initializerb8bad $initializer;
  65.         return $instance;
  66.     }
  67.     public function __construct(\Pimcore\Navigation\Builder $builder\Psr\Container\ContainerInterface $rendererLocator)
  68.     {
  69.         static $reflection;
  70.         if (! $this->valueHolder75638) {
  71.             $reflection $reflection ?? new \ReflectionClass('Pimcore\\Twig\\Extension\\Templating\\Navigation');
  72.             $this->valueHolder75638 $reflection->newInstanceWithoutConstructor();
  73.         unset($this->charset);
  74.         \Closure::bind(function (\Pimcore\Twig\Extension\Templating\Navigation $instance) {
  75.             unset($instance->builder$instance->rendererLocator);
  76.         }, $this'Pimcore\\Twig\\Extension\\Templating\\Navigation')->__invoke($this);
  77.         }
  78.         $this->valueHolder75638->__construct($builder$rendererLocator);
  79.     }
  80.     public function & __get($name)
  81.     {
  82.         $this->initializerb8bad && ($this->initializerb8bad->__invoke($valueHolder75638$this'__get', ['name' => $name], $this->initializerb8bad) || 1) && $this->valueHolder75638 $valueHolder75638;
  83.         if (isset(self::$publicPropertiesdbc69[$name])) {
  84.             return $this->valueHolder75638->$name;
  85.         }
  86.         $realInstanceReflection = new \ReflectionClass('Pimcore\\Twig\\Extension\\Templating\\Navigation');
  87.         if (! $realInstanceReflection->hasProperty($name)) {
  88.             $targetObject $this->valueHolder75638;
  89.             $backtrace debug_backtrace(false1);
  90.             trigger_error(
  91.                 sprintf(
  92.                     'Undefined property: %s::$%s in %s on line %s',
  93.                     $realInstanceReflection->getName(),
  94.                     $name,
  95.                     $backtrace[0]['file'],
  96.                     $backtrace[0]['line']
  97.                 ),
  98.                 \E_USER_NOTICE
  99.             );
  100.             return $targetObject->$name;
  101.         }
  102.         $targetObject $this->valueHolder75638;
  103.         $accessor = function & () use ($targetObject$name) {
  104.             return $targetObject->$name;
  105.         };
  106.         $backtrace debug_backtrace(true2);
  107.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  108.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  109.         $returnValue = & $accessor();
  110.         return $returnValue;
  111.     }
  112.     public function __set($name$value)
  113.     {
  114.         $this->initializerb8bad && ($this->initializerb8bad->__invoke($valueHolder75638$this'__set', array('name' => $name'value' => $value), $this->initializerb8bad) || 1) && $this->valueHolder75638 $valueHolder75638;
  115.         $realInstanceReflection = new \ReflectionClass('Pimcore\\Twig\\Extension\\Templating\\Navigation');
  116.         if (! $realInstanceReflection->hasProperty($name)) {
  117.             $targetObject $this->valueHolder75638;
  118.             $targetObject->$name $value;
  119.             return $targetObject->$name;
  120.         }
  121.         $targetObject $this->valueHolder75638;
  122.         $accessor = function & () use ($targetObject$name$value) {
  123.             $targetObject->$name $value;
  124.             return $targetObject->$name;
  125.         };
  126.         $backtrace debug_backtrace(true2);
  127.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  128.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  129.         $returnValue = & $accessor();
  130.         return $returnValue;
  131.     }
  132.     public function __isset($name)
  133.     {
  134.         $this->initializerb8bad && ($this->initializerb8bad->__invoke($valueHolder75638$this'__isset', array('name' => $name), $this->initializerb8bad) || 1) && $this->valueHolder75638 $valueHolder75638;
  135.         $realInstanceReflection = new \ReflectionClass('Pimcore\\Twig\\Extension\\Templating\\Navigation');
  136.         if (! $realInstanceReflection->hasProperty($name)) {
  137.             $targetObject $this->valueHolder75638;
  138.             return isset($targetObject->$name);
  139.         }
  140.         $targetObject $this->valueHolder75638;
  141.         $accessor = function () use ($targetObject$name) {
  142.             return isset($targetObject->$name);
  143.         };
  144.         $backtrace debug_backtrace(true2);
  145.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  146.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  147.         $returnValue $accessor();
  148.         return $returnValue;
  149.     }
  150.     public function __unset($name)
  151.     {
  152.         $this->initializerb8bad && ($this->initializerb8bad->__invoke($valueHolder75638$this'__unset', array('name' => $name), $this->initializerb8bad) || 1) && $this->valueHolder75638 $valueHolder75638;
  153.         $realInstanceReflection = new \ReflectionClass('Pimcore\\Twig\\Extension\\Templating\\Navigation');
  154.         if (! $realInstanceReflection->hasProperty($name)) {
  155.             $targetObject $this->valueHolder75638;
  156.             unset($targetObject->$name);
  157.             return;
  158.         }
  159.         $targetObject $this->valueHolder75638;
  160.         $accessor = function () use ($targetObject$name) {
  161.             unset($targetObject->$name);
  162.             return;
  163.         };
  164.         $backtrace debug_backtrace(true2);
  165.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  166.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  167.         $accessor();
  168.     }
  169.     public function __clone()
  170.     {
  171.         $this->initializerb8bad && ($this->initializerb8bad->__invoke($valueHolder75638$this'__clone', array(), $this->initializerb8bad) || 1) && $this->valueHolder75638 $valueHolder75638;
  172.         $this->valueHolder75638 = clone $this->valueHolder75638;
  173.     }
  174.     public function __sleep()
  175.     {
  176.         $this->initializerb8bad && ($this->initializerb8bad->__invoke($valueHolder75638$this'__sleep', array(), $this->initializerb8bad) || 1) && $this->valueHolder75638 $valueHolder75638;
  177.         return array('valueHolder75638');
  178.     }
  179.     public function __wakeup()
  180.     {
  181.         unset($this->charset);
  182.         \Closure::bind(function (\Pimcore\Twig\Extension\Templating\Navigation $instance) {
  183.             unset($instance->builder$instance->rendererLocator);
  184.         }, $this'Pimcore\\Twig\\Extension\\Templating\\Navigation')->__invoke($this);
  185.     }
  186.     public function setProxyInitializer(\Closure $initializer null) : void
  187.     {
  188.         $this->initializerb8bad $initializer;
  189.     }
  190.     public function getProxyInitializer() : ?\Closure
  191.     {
  192.         return $this->initializerb8bad;
  193.     }
  194.     public function initializeProxy() : bool
  195.     {
  196.         return $this->initializerb8bad && ($this->initializerb8bad->__invoke($valueHolder75638$this'initializeProxy', array(), $this->initializerb8bad) || 1) && $this->valueHolder75638 $valueHolder75638;
  197.     }
  198.     public function isProxyInitialized() : bool
  199.     {
  200.         return null !== $this->valueHolder75638;
  201.     }
  202.     public function getWrappedValueHolderValue()
  203.     {
  204.         return $this->valueHolder75638;
  205.     }
  206. }
  207. if (!\class_exists('Navigation_62d2b4b'false)) {
  208.     \class_alias(__NAMESPACE__.'\\Navigation_62d2b4b''Navigation_62d2b4b'false);
  209. }