var/cache/dev/ContainerAdnmLsv/Navigation_62d2b4b.php line 25

Open in your IDE?
  1. <?php
  2. namespace ContainerAdnmLsv;
  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 $valueHolder0dd74 null;
  10.     /**
  11.      * @var \Closure|null initializer responsible for generating the wrapped object
  12.      */
  13.     private $initializer81f49 null;
  14.     /**
  15.      * @var bool[] map of public properties of the parent class
  16.      */
  17.     private static $publicPropertiesf4d72 = [
  18.         
  19.     ];
  20.     public function build(array $params) : \Pimcore\Navigation\Container
  21.     {
  22.         $this->initializer81f49 && ($this->initializer81f49->__invoke($valueHolder0dd74$this'build', array('params' => $params), $this->initializer81f49) || 1) && $this->valueHolder0dd74 $valueHolder0dd74;
  23.         return $this->valueHolder0dd74->build($params);
  24.     }
  25.     public function getRenderer(string $alias) : \Pimcore\Navigation\Renderer\RendererInterface
  26.     {
  27.         $this->initializer81f49 && ($this->initializer81f49->__invoke($valueHolder0dd74$this'getRenderer', array('alias' => $alias), $this->initializer81f49) || 1) && $this->valueHolder0dd74 $valueHolder0dd74;
  28.         return $this->valueHolder0dd74->getRenderer($alias);
  29.     }
  30.     public function render(\Pimcore\Navigation\Container $containerstring $rendererName 'menu'string $renderMethod 'render', ... $rendererArguments)
  31.     {
  32.         $this->initializer81f49 && ($this->initializer81f49->__invoke($valueHolder0dd74$this'render', array('container' => $container'rendererName' => $rendererName'renderMethod' => $renderMethod'rendererArguments' => $rendererArguments), $this->initializer81f49) || 1) && $this->valueHolder0dd74 $valueHolder0dd74;
  33.         return $this->valueHolder0dd74->render($container$rendererName$renderMethod, ...$rendererArguments);
  34.     }
  35.     public function __call($method, array $arguments = []) : \Pimcore\Navigation\Renderer\RendererInterface
  36.     {
  37.         $this->initializer81f49 && ($this->initializer81f49->__invoke($valueHolder0dd74$this'__call', array('method' => $method'arguments' => $arguments), $this->initializer81f49) || 1) && $this->valueHolder0dd74 $valueHolder0dd74;
  38.         return $this->valueHolder0dd74->__call($method$arguments);
  39.     }
  40.     public function setCharset(string $charset)
  41.     {
  42.         $this->initializer81f49 && ($this->initializer81f49->__invoke($valueHolder0dd74$this'setCharset', array('charset' => $charset), $this->initializer81f49) || 1) && $this->valueHolder0dd74 $valueHolder0dd74;
  43.         return $this->valueHolder0dd74->setCharset($charset);
  44.     }
  45.     public function getCharset()
  46.     {
  47.         $this->initializer81f49 && ($this->initializer81f49->__invoke($valueHolder0dd74$this'getCharset', array(), $this->initializer81f49) || 1) && $this->valueHolder0dd74 $valueHolder0dd74;
  48.         return $this->valueHolder0dd74->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->initializer81f49 $initializer;
  65.         return $instance;
  66.     }
  67.     public function __construct(\Pimcore\Navigation\Builder $builder\Psr\Container\ContainerInterface $rendererLocator)
  68.     {
  69.         static $reflection;
  70.         if (! $this->valueHolder0dd74) {
  71.             $reflection $reflection ?? new \ReflectionClass('Pimcore\\Twig\\Extension\\Templating\\Navigation');
  72.             $this->valueHolder0dd74 $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->valueHolder0dd74->__construct($builder$rendererLocator);
  79.     }
  80.     public function & __get($name)
  81.     {
  82.         $this->initializer81f49 && ($this->initializer81f49->__invoke($valueHolder0dd74$this'__get', ['name' => $name], $this->initializer81f49) || 1) && $this->valueHolder0dd74 $valueHolder0dd74;
  83.         if (isset(self::$publicPropertiesf4d72[$name])) {
  84.             return $this->valueHolder0dd74->$name;
  85.         }
  86.         $realInstanceReflection = new \ReflectionClass('Pimcore\\Twig\\Extension\\Templating\\Navigation');
  87.         if (! $realInstanceReflection->hasProperty($name)) {
  88.             $targetObject $this->valueHolder0dd74;
  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->valueHolder0dd74;
  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->initializer81f49 && ($this->initializer81f49->__invoke($valueHolder0dd74$this'__set', array('name' => $name'value' => $value), $this->initializer81f49) || 1) && $this->valueHolder0dd74 $valueHolder0dd74;
  115.         $realInstanceReflection = new \ReflectionClass('Pimcore\\Twig\\Extension\\Templating\\Navigation');
  116.         if (! $realInstanceReflection->hasProperty($name)) {
  117.             $targetObject $this->valueHolder0dd74;
  118.             $targetObject->$name $value;
  119.             return $targetObject->$name;
  120.         }
  121.         $targetObject $this->valueHolder0dd74;
  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->initializer81f49 && ($this->initializer81f49->__invoke($valueHolder0dd74$this'__isset', array('name' => $name), $this->initializer81f49) || 1) && $this->valueHolder0dd74 $valueHolder0dd74;
  135.         $realInstanceReflection = new \ReflectionClass('Pimcore\\Twig\\Extension\\Templating\\Navigation');
  136.         if (! $realInstanceReflection->hasProperty($name)) {
  137.             $targetObject $this->valueHolder0dd74;
  138.             return isset($targetObject->$name);
  139.         }
  140.         $targetObject $this->valueHolder0dd74;
  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->initializer81f49 && ($this->initializer81f49->__invoke($valueHolder0dd74$this'__unset', array('name' => $name), $this->initializer81f49) || 1) && $this->valueHolder0dd74 $valueHolder0dd74;
  153.         $realInstanceReflection = new \ReflectionClass('Pimcore\\Twig\\Extension\\Templating\\Navigation');
  154.         if (! $realInstanceReflection->hasProperty($name)) {
  155.             $targetObject $this->valueHolder0dd74;
  156.             unset($targetObject->$name);
  157.             return;
  158.         }
  159.         $targetObject $this->valueHolder0dd74;
  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->initializer81f49 && ($this->initializer81f49->__invoke($valueHolder0dd74$this'__clone', array(), $this->initializer81f49) || 1) && $this->valueHolder0dd74 $valueHolder0dd74;
  172.         $this->valueHolder0dd74 = clone $this->valueHolder0dd74;
  173.     }
  174.     public function __sleep()
  175.     {
  176.         $this->initializer81f49 && ($this->initializer81f49->__invoke($valueHolder0dd74$this'__sleep', array(), $this->initializer81f49) || 1) && $this->valueHolder0dd74 $valueHolder0dd74;
  177.         return array('valueHolder0dd74');
  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->initializer81f49 $initializer;
  189.     }
  190.     public function getProxyInitializer() : ?\Closure
  191.     {
  192.         return $this->initializer81f49;
  193.     }
  194.     public function initializeProxy() : bool
  195.     {
  196.         return $this->initializer81f49 && ($this->initializer81f49->__invoke($valueHolder0dd74$this'initializeProxy', array(), $this->initializer81f49) || 1) && $this->valueHolder0dd74 $valueHolder0dd74;
  197.     }
  198.     public function isProxyInitialized() : bool
  199.     {
  200.         return null !== $this->valueHolder0dd74;
  201.     }
  202.     public function getWrappedValueHolderValue()
  203.     {
  204.         return $this->valueHolder0dd74;
  205.     }
  206. }
  207. if (!\class_exists('Navigation_62d2b4b'false)) {
  208.     \class_alias(__NAMESPACE__.'\\Navigation_62d2b4b''Navigation_62d2b4b'false);
  209. }