<?php
namespace ContainerLdx99y9;
include_once \dirname(__DIR__, 5).'/src/Twig/Components/ComponentInterface.php';
include_once \dirname(__DIR__, 5).'/src/Twig/Components/Header.php';
class Header_78c02bc extends \App\Twig\Components\Header implements \ProxyManager\Proxy\VirtualProxyInterface
{
/**
* @var \App\Twig\Components\Header|null wrapped object, if the proxy is initialized
*/
private $valueHolderf3171 = null;
/**
* @var \Closure|null initializer responsible for generating the wrapped object
*/
private $initializer62f8a = null;
/**
* @var bool[] map of public properties of the parent class
*/
private static $publicPropertieseeb5c = [
];
public function linksAttribute(?array $data)
{
$this->initializer62f8a && ($this->initializer62f8a->__invoke($valueHolderf3171, $this, 'linksAttribute', array('data' => $data), $this->initializer62f8a) || 1) && $this->valueHolderf3171 = $valueHolderf3171;
return $this->valueHolderf3171->linksAttribute($data);
}
public function socialMediaAttribute(?array $values = []) : array
{
$this->initializer62f8a && ($this->initializer62f8a->__invoke($valueHolderf3171, $this, 'socialMediaAttribute', array('values' => $values), $this->initializer62f8a) || 1) && $this->valueHolderf3171 = $valueHolderf3171;
return $this->valueHolderf3171->socialMediaAttribute($values);
}
public function selectedAttribute(array $data) : int
{
$this->initializer62f8a && ($this->initializer62f8a->__invoke($valueHolderf3171, $this, 'selectedAttribute', array('data' => $data), $this->initializer62f8a) || 1) && $this->valueHolderf3171 = $valueHolderf3171;
return $this->valueHolderf3171->selectedAttribute($data);
}
/**
* Constructor for lazy initialization
*
* @param \Closure|null $initializer
*/
public static function staticProxyConstructor($initializer)
{
static $reflection;
$reflection = $reflection ?? new \ReflectionClass(__CLASS__);
$instance = $reflection->newInstanceWithoutConstructor();
\Closure::bind(function (\App\Twig\Components\Header $instance) {
unset($instance->navigationTwigExtension, $instance->snippetAreaTwigExtension, $instance->translator, $instance->contentTwigExtension);
}, $instance, 'App\\Twig\\Components\\Header')->__invoke($instance);
$instance->initializer62f8a = $initializer;
return $instance;
}
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)
{
static $reflection;
if (! $this->valueHolderf3171) {
$reflection = $reflection ?? new \ReflectionClass('App\\Twig\\Components\\Header');
$this->valueHolderf3171 = $reflection->newInstanceWithoutConstructor();
\Closure::bind(function (\App\Twig\Components\Header $instance) {
unset($instance->navigationTwigExtension, $instance->snippetAreaTwigExtension, $instance->translator, $instance->contentTwigExtension);
}, $this, 'App\\Twig\\Components\\Header')->__invoke($this);
}
$this->valueHolderf3171->__construct($navigationTwigExtension, $snippetAreaTwigExtension, $translator, $contentTwigExtension);
}
public function & __get($name)
{
$this->initializer62f8a && ($this->initializer62f8a->__invoke($valueHolderf3171, $this, '__get', ['name' => $name], $this->initializer62f8a) || 1) && $this->valueHolderf3171 = $valueHolderf3171;
if (isset(self::$publicPropertieseeb5c[$name])) {
return $this->valueHolderf3171->$name;
}
$realInstanceReflection = new \ReflectionClass('App\\Twig\\Components\\Header');
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHolderf3171;
$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->valueHolderf3171;
$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->initializer62f8a && ($this->initializer62f8a->__invoke($valueHolderf3171, $this, '__set', array('name' => $name, 'value' => $value), $this->initializer62f8a) || 1) && $this->valueHolderf3171 = $valueHolderf3171;
$realInstanceReflection = new \ReflectionClass('App\\Twig\\Components\\Header');
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHolderf3171;
$targetObject->$name = $value;
return $targetObject->$name;
}
$targetObject = $this->valueHolderf3171;
$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->initializer62f8a && ($this->initializer62f8a->__invoke($valueHolderf3171, $this, '__isset', array('name' => $name), $this->initializer62f8a) || 1) && $this->valueHolderf3171 = $valueHolderf3171;
$realInstanceReflection = new \ReflectionClass('App\\Twig\\Components\\Header');
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHolderf3171;
return isset($targetObject->$name);
}
$targetObject = $this->valueHolderf3171;
$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->initializer62f8a && ($this->initializer62f8a->__invoke($valueHolderf3171, $this, '__unset', array('name' => $name), $this->initializer62f8a) || 1) && $this->valueHolderf3171 = $valueHolderf3171;
$realInstanceReflection = new \ReflectionClass('App\\Twig\\Components\\Header');
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHolderf3171;
unset($targetObject->$name);
return;
}
$targetObject = $this->valueHolderf3171;
$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->initializer62f8a && ($this->initializer62f8a->__invoke($valueHolderf3171, $this, '__clone', array(), $this->initializer62f8a) || 1) && $this->valueHolderf3171 = $valueHolderf3171;
$this->valueHolderf3171 = clone $this->valueHolderf3171;
}
public function __sleep()
{
$this->initializer62f8a && ($this->initializer62f8a->__invoke($valueHolderf3171, $this, '__sleep', array(), $this->initializer62f8a) || 1) && $this->valueHolderf3171 = $valueHolderf3171;
return array('valueHolderf3171');
}
public function __wakeup()
{
\Closure::bind(function (\App\Twig\Components\Header $instance) {
unset($instance->navigationTwigExtension, $instance->snippetAreaTwigExtension, $instance->translator, $instance->contentTwigExtension);
}, $this, 'App\\Twig\\Components\\Header')->__invoke($this);
}
public function setProxyInitializer(\Closure $initializer = null) : void
{
$this->initializer62f8a = $initializer;
}
public function getProxyInitializer() : ?\Closure
{
return $this->initializer62f8a;
}
public function initializeProxy() : bool
{
return $this->initializer62f8a && ($this->initializer62f8a->__invoke($valueHolderf3171, $this, 'initializeProxy', array(), $this->initializer62f8a) || 1) && $this->valueHolderf3171 = $valueHolderf3171;
}
public function isProxyInitialized() : bool
{
return null !== $this->valueHolderf3171;
}
public function getWrappedValueHolderValue()
{
return $this->valueHolderf3171;
}
}
if (!\class_exists('Header_78c02bc', false)) {
\class_alias(__NAMESPACE__.'\\Header_78c02bc', 'Header_78c02bc', false);
}