<?php
namespace ContainerC1MH1xT;
include_once \dirname(__DIR__, 4).'/vendor/ibexa/twig-components/src/lib/Component/TemplateComponent.php';
class TemplateComponent_cea33d3 extends \Ibexa\TwigComponents\Component\TemplateComponent implements \ProxyManager\Proxy\VirtualProxyInterface
{
/**
* @var \Ibexa\TwigComponents\Component\TemplateComponent|null wrapped object, if the proxy is initialized
*/
private $valueHolder83025 = null;
/**
* @var \Closure|null initializer responsible for generating the wrapped object
*/
private $initializer8f361 = null;
/**
* @var bool[] map of public properties of the parent class
*/
private static $publicPropertiesf1b7b = [
];
public function render(array $parameters = []): string
{
$this->initializer8f361 && ($this->initializer8f361->__invoke($valueHolder83025, $this, 'render', array('parameters' => $parameters), $this->initializer8f361) || 1) && $this->valueHolder83025 = $valueHolder83025;
return $this->valueHolder83025->render($parameters);
}
/**
* 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 (\Ibexa\TwigComponents\Component\TemplateComponent $instance) {
unset($instance->twig, $instance->template, $instance->parameters);
}, $instance, 'Ibexa\\TwigComponents\\Component\\TemplateComponent')->__invoke($instance);
$instance->initializer8f361 = $initializer;
return $instance;
}
public function __construct(\Twig\Environment $twig, string $template, array $parameters = [])
{
static $reflection;
if (! $this->valueHolder83025) {
$reflection = $reflection ?? new \ReflectionClass('Ibexa\\TwigComponents\\Component\\TemplateComponent');
$this->valueHolder83025 = $reflection->newInstanceWithoutConstructor();
\Closure::bind(function (\Ibexa\TwigComponents\Component\TemplateComponent $instance) {
unset($instance->twig, $instance->template, $instance->parameters);
}, $this, 'Ibexa\\TwigComponents\\Component\\TemplateComponent')->__invoke($this);
}
$this->valueHolder83025->__construct($twig, $template, $parameters);
}
public function & __get($name)
{
$this->initializer8f361 && ($this->initializer8f361->__invoke($valueHolder83025, $this, '__get', ['name' => $name], $this->initializer8f361) || 1) && $this->valueHolder83025 = $valueHolder83025;
if (isset(self::$publicPropertiesf1b7b[$name])) {
return $this->valueHolder83025->$name;
}
$realInstanceReflection = new \ReflectionClass('Ibexa\\TwigComponents\\Component\\TemplateComponent');
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHolder83025;
$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->valueHolder83025;
$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->initializer8f361 && ($this->initializer8f361->__invoke($valueHolder83025, $this, '__set', array('name' => $name, 'value' => $value), $this->initializer8f361) || 1) && $this->valueHolder83025 = $valueHolder83025;
$realInstanceReflection = new \ReflectionClass('Ibexa\\TwigComponents\\Component\\TemplateComponent');
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHolder83025;
$targetObject->$name = $value;
return $targetObject->$name;
}
$targetObject = $this->valueHolder83025;
$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->initializer8f361 && ($this->initializer8f361->__invoke($valueHolder83025, $this, '__isset', array('name' => $name), $this->initializer8f361) || 1) && $this->valueHolder83025 = $valueHolder83025;
$realInstanceReflection = new \ReflectionClass('Ibexa\\TwigComponents\\Component\\TemplateComponent');
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHolder83025;
return isset($targetObject->$name);
}
$targetObject = $this->valueHolder83025;
$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->initializer8f361 && ($this->initializer8f361->__invoke($valueHolder83025, $this, '__unset', array('name' => $name), $this->initializer8f361) || 1) && $this->valueHolder83025 = $valueHolder83025;
$realInstanceReflection = new \ReflectionClass('Ibexa\\TwigComponents\\Component\\TemplateComponent');
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHolder83025;
unset($targetObject->$name);
return;
}
$targetObject = $this->valueHolder83025;
$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->initializer8f361 && ($this->initializer8f361->__invoke($valueHolder83025, $this, '__clone', array(), $this->initializer8f361) || 1) && $this->valueHolder83025 = $valueHolder83025;
$this->valueHolder83025 = clone $this->valueHolder83025;
}
public function __sleep()
{
$this->initializer8f361 && ($this->initializer8f361->__invoke($valueHolder83025, $this, '__sleep', array(), $this->initializer8f361) || 1) && $this->valueHolder83025 = $valueHolder83025;
return array('valueHolder83025');
}
public function __wakeup()
{
\Closure::bind(function (\Ibexa\TwigComponents\Component\TemplateComponent $instance) {
unset($instance->twig, $instance->template, $instance->parameters);
}, $this, 'Ibexa\\TwigComponents\\Component\\TemplateComponent')->__invoke($this);
}
public function setProxyInitializer(?\Closure $initializer = null): void
{
$this->initializer8f361 = $initializer;
}
public function getProxyInitializer(): ?\Closure
{
return $this->initializer8f361;
}
public function initializeProxy(): bool
{
return $this->initializer8f361 && ($this->initializer8f361->__invoke($valueHolder83025, $this, 'initializeProxy', array(), $this->initializer8f361) || 1) && $this->valueHolder83025 = $valueHolder83025;
}
public function isProxyInitialized(): bool
{
return null !== $this->valueHolder83025;
}
public function getWrappedValueHolderValue()
{
return $this->valueHolder83025;
}
}
if (!\class_exists('TemplateComponent_cea33d3', false)) {
\class_alias(__NAMESPACE__.'\\TemplateComponent_cea33d3', 'TemplateComponent_cea33d3', false);
}