var/cache/website/dev/ContainerUnZqEye/Header_78c02bc.php line 44

Open in your IDE?
  1. <?php
  2. namespace ContainerUnZqEye;
  3. include_once \dirname(__DIR__5).'/src/Twig/Components/ComponentInterface.php';
  4. include_once \dirname(__DIR__5).'/src/Twig/Components/Header.php';
  5. class Header_78c02bc extends \App\Twig\Components\Header implements \ProxyManager\Proxy\VirtualProxyInterface
  6. {
  7.     /**
  8.      * @var \App\Twig\Components\Header|null wrapped object, if the proxy is initialized
  9.      */
  10.     private $valueHolderf3171 null;
  11.     /**
  12.      * @var \Closure|null initializer responsible for generating the wrapped object
  13.      */
  14.     private $initializer62f8a null;
  15.     /**
  16.      * @var bool[] map of public properties of the parent class
  17.      */
  18.     private static $publicPropertieseeb5c = [
  19.         
  20.     ];
  21.     public function linksAttribute(?array $data)
  22.     {
  23.         $this->initializer62f8a && ($this->initializer62f8a->__invoke($valueHolderf3171$this'linksAttribute', array('data' => $data), $this->initializer62f8a) || 1) && $this->valueHolderf3171 $valueHolderf3171;
  24.         return $this->valueHolderf3171->linksAttribute($data);
  25.     }
  26.     public function socialMediaAttribute(?array $values = []) : array
  27.     {
  28.         $this->initializer62f8a && ($this->initializer62f8a->__invoke($valueHolderf3171$this'socialMediaAttribute', array('values' => $values), $this->initializer62f8a) || 1) && $this->valueHolderf3171 $valueHolderf3171;
  29.         return $this->valueHolderf3171->socialMediaAttribute($values);
  30.     }
  31.     public function selectedAttribute(array $data) : int
  32.     {
  33.         $this->initializer62f8a && ($this->initializer62f8a->__invoke($valueHolderf3171$this'selectedAttribute', array('data' => $data), $this->initializer62f8a) || 1) && $this->valueHolderf3171 $valueHolderf3171;
  34.         return $this->valueHolderf3171->selectedAttribute($data);
  35.     }
  36.     /**
  37.      * Constructor for lazy initialization
  38.      *
  39.      * @param \Closure|null $initializer
  40.      */
  41.     public static function staticProxyConstructor($initializer)
  42.     {
  43.         static $reflection;
  44.         $reflection $reflection ?? new \ReflectionClass(__CLASS__);
  45.         $instance   $reflection->newInstanceWithoutConstructor();
  46.         \Closure::bind(function (\App\Twig\Components\Header $instance) {
  47.             unset($instance->navigationTwigExtension$instance->snippetAreaTwigExtension$instance->translator$instance->contentTwigExtension);
  48.         }, $instance'App\\Twig\\Components\\Header')->__invoke($instance);
  49.         $instance->initializer62f8a $initializer;
  50.         return $instance;
  51.     }
  52.     public function __construct(\Sulu\Bundle\WebsiteBundle\Twig\Navigation\NavigationTwigExtensionInterface $navigationTwigExtension\Sulu\Bundle\SnippetBundle\Twig\SnippetAreaTwigExtension $snippetAreaTwigExtension\Symfony\Contracts\Translation\TranslatorInterface $translator\Sulu\Bundle\WebsiteBundle\Twig\Content\ContentTwigExtensionInterface $contentTwigExtension)
  53.     {
  54.         static $reflection;
  55.         if (! $this->valueHolderf3171) {
  56.             $reflection $reflection ?? new \ReflectionClass('App\\Twig\\Components\\Header');
  57.             $this->valueHolderf3171 $reflection->newInstanceWithoutConstructor();
  58.         \Closure::bind(function (\App\Twig\Components\Header $instance) {
  59.             unset($instance->navigationTwigExtension$instance->snippetAreaTwigExtension$instance->translator$instance->contentTwigExtension);
  60.         }, $this'App\\Twig\\Components\\Header')->__invoke($this);
  61.         }
  62.         $this->valueHolderf3171->__construct($navigationTwigExtension$snippetAreaTwigExtension$translator$contentTwigExtension);
  63.     }
  64.     public function & __get($name)
  65.     {
  66.         $this->initializer62f8a && ($this->initializer62f8a->__invoke($valueHolderf3171$this'__get', ['name' => $name], $this->initializer62f8a) || 1) && $this->valueHolderf3171 $valueHolderf3171;
  67.         if (isset(self::$publicPropertieseeb5c[$name])) {
  68.             return $this->valueHolderf3171->$name;
  69.         }
  70.         $realInstanceReflection = new \ReflectionClass('App\\Twig\\Components\\Header');
  71.         if (! $realInstanceReflection->hasProperty($name)) {
  72.             $targetObject $this->valueHolderf3171;
  73.             $backtrace debug_backtrace(false1);
  74.             trigger_error(
  75.                 sprintf(
  76.                     'Undefined property: %s::$%s in %s on line %s',
  77.                     $realInstanceReflection->getName(),
  78.                     $name,
  79.                     $backtrace[0]['file'],
  80.                     $backtrace[0]['line']
  81.                 ),
  82.                 \E_USER_NOTICE
  83.             );
  84.             return $targetObject->$name;
  85.         }
  86.         $targetObject $this->valueHolderf3171;
  87.         $accessor = function & () use ($targetObject$name) {
  88.             return $targetObject->$name;
  89.         };
  90.         $backtrace debug_backtrace(true2);
  91.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  92.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  93.         $returnValue = & $accessor();
  94.         return $returnValue;
  95.     }
  96.     public function __set($name$value)
  97.     {
  98.         $this->initializer62f8a && ($this->initializer62f8a->__invoke($valueHolderf3171$this'__set', array('name' => $name'value' => $value), $this->initializer62f8a) || 1) && $this->valueHolderf3171 $valueHolderf3171;
  99.         $realInstanceReflection = new \ReflectionClass('App\\Twig\\Components\\Header');
  100.         if (! $realInstanceReflection->hasProperty($name)) {
  101.             $targetObject $this->valueHolderf3171;
  102.             $targetObject->$name $value;
  103.             return $targetObject->$name;
  104.         }
  105.         $targetObject $this->valueHolderf3171;
  106.         $accessor = function & () use ($targetObject$name$value) {
  107.             $targetObject->$name $value;
  108.             return $targetObject->$name;
  109.         };
  110.         $backtrace debug_backtrace(true2);
  111.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  112.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  113.         $returnValue = & $accessor();
  114.         return $returnValue;
  115.     }
  116.     public function __isset($name)
  117.     {
  118.         $this->initializer62f8a && ($this->initializer62f8a->__invoke($valueHolderf3171$this'__isset', array('name' => $name), $this->initializer62f8a) || 1) && $this->valueHolderf3171 $valueHolderf3171;
  119.         $realInstanceReflection = new \ReflectionClass('App\\Twig\\Components\\Header');
  120.         if (! $realInstanceReflection->hasProperty($name)) {
  121.             $targetObject $this->valueHolderf3171;
  122.             return isset($targetObject->$name);
  123.         }
  124.         $targetObject $this->valueHolderf3171;
  125.         $accessor = function () use ($targetObject$name) {
  126.             return isset($targetObject->$name);
  127.         };
  128.         $backtrace debug_backtrace(true2);
  129.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  130.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  131.         $returnValue $accessor();
  132.         return $returnValue;
  133.     }
  134.     public function __unset($name)
  135.     {
  136.         $this->initializer62f8a && ($this->initializer62f8a->__invoke($valueHolderf3171$this'__unset', array('name' => $name), $this->initializer62f8a) || 1) && $this->valueHolderf3171 $valueHolderf3171;
  137.         $realInstanceReflection = new \ReflectionClass('App\\Twig\\Components\\Header');
  138.         if (! $realInstanceReflection->hasProperty($name)) {
  139.             $targetObject $this->valueHolderf3171;
  140.             unset($targetObject->$name);
  141.             return;
  142.         }
  143.         $targetObject $this->valueHolderf3171;
  144.         $accessor = function () use ($targetObject$name) {
  145.             unset($targetObject->$name);
  146.             return;
  147.         };
  148.         $backtrace debug_backtrace(true2);
  149.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  150.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  151.         $accessor();
  152.     }
  153.     public function __clone()
  154.     {
  155.         $this->initializer62f8a && ($this->initializer62f8a->__invoke($valueHolderf3171$this'__clone', array(), $this->initializer62f8a) || 1) && $this->valueHolderf3171 $valueHolderf3171;
  156.         $this->valueHolderf3171 = clone $this->valueHolderf3171;
  157.     }
  158.     public function __sleep()
  159.     {
  160.         $this->initializer62f8a && ($this->initializer62f8a->__invoke($valueHolderf3171$this'__sleep', array(), $this->initializer62f8a) || 1) && $this->valueHolderf3171 $valueHolderf3171;
  161.         return array('valueHolderf3171');
  162.     }
  163.     public function __wakeup()
  164.     {
  165.         \Closure::bind(function (\App\Twig\Components\Header $instance) {
  166.             unset($instance->navigationTwigExtension$instance->snippetAreaTwigExtension$instance->translator$instance->contentTwigExtension);
  167.         }, $this'App\\Twig\\Components\\Header')->__invoke($this);
  168.     }
  169.     public function setProxyInitializer(\Closure $initializer null) : void
  170.     {
  171.         $this->initializer62f8a $initializer;
  172.     }
  173.     public function getProxyInitializer() : ?\Closure
  174.     {
  175.         return $this->initializer62f8a;
  176.     }
  177.     public function initializeProxy() : bool
  178.     {
  179.         return $this->initializer62f8a && ($this->initializer62f8a->__invoke($valueHolderf3171$this'initializeProxy', array(), $this->initializer62f8a) || 1) && $this->valueHolderf3171 $valueHolderf3171;
  180.     }
  181.     public function isProxyInitialized() : bool
  182.     {
  183.         return null !== $this->valueHolderf3171;
  184.     }
  185.     public function getWrappedValueHolderValue()
  186.     {
  187.         return $this->valueHolderf3171;
  188.     }
  189. }
  190. if (!\class_exists('Header_78c02bc'false)) {
  191.     \class_alias(__NAMESPACE__.'\\Header_78c02bc''Header_78c02bc'false);
  192. }