var/cache/dev/ContainerC1MH1xT/TwigComponent_eb09034.php line 25

Open in your IDE?
  1. <?php
  2. namespace ContainerC1MH1xT;
  3. include_once \dirname(__DIR__, 4).'/vendor/se7enxweb/admin-ui/src/lib/Component/TwigComponent.php';
  4. class TwigComponent_eb09034 extends \Ibexa\AdminUi\Component\TwigComponent implements \ProxyManager\Proxy\VirtualProxyInterface
  5. {
  6. /**
  7. * @var \Ibexa\AdminUi\Component\TwigComponent|null wrapped object, if the proxy is initialized
  8. */
  9. private $valueHolder83025 = null;
  10. /**
  11. * @var \Closure|null initializer responsible for generating the wrapped object
  12. */
  13. private $initializer8f361 = null;
  14. /**
  15. * @var bool[] map of public properties of the parent class
  16. */
  17. private static $publicPropertiesf1b7b = [
  18. ];
  19. public function render(array $parameters = []): string
  20. {
  21. $this->initializer8f361 && ($this->initializer8f361->__invoke($valueHolder83025, $this, 'render', array('parameters' => $parameters), $this->initializer8f361) || 1) && $this->valueHolder83025 = $valueHolder83025;
  22. return $this->valueHolder83025->render($parameters);
  23. }
  24. /**
  25. * Constructor for lazy initialization
  26. *
  27. * @param \Closure|null $initializer
  28. */
  29. public static function staticProxyConstructor($initializer)
  30. {
  31. static $reflection;
  32. $reflection = $reflection ?? new \ReflectionClass(__CLASS__);
  33. $instance = $reflection->newInstanceWithoutConstructor();
  34. unset($instance->template, $instance->twig, $instance->parameters);
  35. $instance->initializer8f361 = $initializer;
  36. return $instance;
  37. }
  38. public function __construct(\Twig\Environment $twig, string $template, array $parameters = [])
  39. {
  40. static $reflection;
  41. if (! $this->valueHolder83025) {
  42. $reflection = $reflection ?? new \ReflectionClass('Ibexa\\AdminUi\\Component\\TwigComponent');
  43. $this->valueHolder83025 = $reflection->newInstanceWithoutConstructor();
  44. unset($this->template, $this->twig, $this->parameters);
  45. }
  46. $this->valueHolder83025->__construct($twig, $template, $parameters);
  47. }
  48. public function & __get($name)
  49. {
  50. $this->initializer8f361 && ($this->initializer8f361->__invoke($valueHolder83025, $this, '__get', ['name' => $name], $this->initializer8f361) || 1) && $this->valueHolder83025 = $valueHolder83025;
  51. if (isset(self::$publicPropertiesf1b7b[$name])) {
  52. return $this->valueHolder83025->$name;
  53. }
  54. $realInstanceReflection = new \ReflectionClass('Ibexa\\AdminUi\\Component\\TwigComponent');
  55. if (! $realInstanceReflection->hasProperty($name)) {
  56. $targetObject = $this->valueHolder83025;
  57. $backtrace = debug_backtrace(false, 1);
  58. trigger_error(
  59. sprintf(
  60. 'Undefined property: %s::$%s in %s on line %s',
  61. $realInstanceReflection->getName(),
  62. $name,
  63. $backtrace[0]['file'],
  64. $backtrace[0]['line']
  65. ),
  66. \E_USER_NOTICE
  67. );
  68. return $targetObject->$name;
  69. }
  70. $targetObject = $this->valueHolder83025;
  71. $accessor = function & () use ($targetObject, $name) {
  72. return $targetObject->$name;
  73. };
  74. $backtrace = debug_backtrace(true, 2);
  75. $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  76. $accessor = $accessor->bindTo($scopeObject, get_class($scopeObject));
  77. $returnValue = & $accessor();
  78. return $returnValue;
  79. }
  80. public function __set($name, $value)
  81. {
  82. $this->initializer8f361 && ($this->initializer8f361->__invoke($valueHolder83025, $this, '__set', array('name' => $name, 'value' => $value), $this->initializer8f361) || 1) && $this->valueHolder83025 = $valueHolder83025;
  83. $realInstanceReflection = new \ReflectionClass('Ibexa\\AdminUi\\Component\\TwigComponent');
  84. if (! $realInstanceReflection->hasProperty($name)) {
  85. $targetObject = $this->valueHolder83025;
  86. $targetObject->$name = $value;
  87. return $targetObject->$name;
  88. }
  89. $targetObject = $this->valueHolder83025;
  90. $accessor = function & () use ($targetObject, $name, $value) {
  91. $targetObject->$name = $value;
  92. return $targetObject->$name;
  93. };
  94. $backtrace = debug_backtrace(true, 2);
  95. $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  96. $accessor = $accessor->bindTo($scopeObject, get_class($scopeObject));
  97. $returnValue = & $accessor();
  98. return $returnValue;
  99. }
  100. public function __isset($name)
  101. {
  102. $this->initializer8f361 && ($this->initializer8f361->__invoke($valueHolder83025, $this, '__isset', array('name' => $name), $this->initializer8f361) || 1) && $this->valueHolder83025 = $valueHolder83025;
  103. $realInstanceReflection = new \ReflectionClass('Ibexa\\AdminUi\\Component\\TwigComponent');
  104. if (! $realInstanceReflection->hasProperty($name)) {
  105. $targetObject = $this->valueHolder83025;
  106. return isset($targetObject->$name);
  107. }
  108. $targetObject = $this->valueHolder83025;
  109. $accessor = function () use ($targetObject, $name) {
  110. return isset($targetObject->$name);
  111. };
  112. $backtrace = debug_backtrace(true, 2);
  113. $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  114. $accessor = $accessor->bindTo($scopeObject, get_class($scopeObject));
  115. $returnValue = $accessor();
  116. return $returnValue;
  117. }
  118. public function __unset($name)
  119. {
  120. $this->initializer8f361 && ($this->initializer8f361->__invoke($valueHolder83025, $this, '__unset', array('name' => $name), $this->initializer8f361) || 1) && $this->valueHolder83025 = $valueHolder83025;
  121. $realInstanceReflection = new \ReflectionClass('Ibexa\\AdminUi\\Component\\TwigComponent');
  122. if (! $realInstanceReflection->hasProperty($name)) {
  123. $targetObject = $this->valueHolder83025;
  124. unset($targetObject->$name);
  125. return;
  126. }
  127. $targetObject = $this->valueHolder83025;
  128. $accessor = function () use ($targetObject, $name) {
  129. unset($targetObject->$name);
  130. return;
  131. };
  132. $backtrace = debug_backtrace(true, 2);
  133. $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  134. $accessor = $accessor->bindTo($scopeObject, get_class($scopeObject));
  135. $accessor();
  136. }
  137. public function __clone()
  138. {
  139. $this->initializer8f361 && ($this->initializer8f361->__invoke($valueHolder83025, $this, '__clone', array(), $this->initializer8f361) || 1) && $this->valueHolder83025 = $valueHolder83025;
  140. $this->valueHolder83025 = clone $this->valueHolder83025;
  141. }
  142. public function __sleep()
  143. {
  144. $this->initializer8f361 && ($this->initializer8f361->__invoke($valueHolder83025, $this, '__sleep', array(), $this->initializer8f361) || 1) && $this->valueHolder83025 = $valueHolder83025;
  145. return array('valueHolder83025');
  146. }
  147. public function __wakeup()
  148. {
  149. unset($this->template, $this->twig, $this->parameters);
  150. }
  151. public function setProxyInitializer(?\Closure $initializer = null): void
  152. {
  153. $this->initializer8f361 = $initializer;
  154. }
  155. public function getProxyInitializer(): ?\Closure
  156. {
  157. return $this->initializer8f361;
  158. }
  159. public function initializeProxy(): bool
  160. {
  161. return $this->initializer8f361 && ($this->initializer8f361->__invoke($valueHolder83025, $this, 'initializeProxy', array(), $this->initializer8f361) || 1) && $this->valueHolder83025 = $valueHolder83025;
  162. }
  163. public function isProxyInitialized(): bool
  164. {
  165. return null !== $this->valueHolder83025;
  166. }
  167. public function getWrappedValueHolderValue()
  168. {
  169. return $this->valueHolder83025;
  170. }
  171. }
  172. if (!\class_exists('TwigComponent_eb09034', false)) {
  173. \class_alias(__NAMESPACE__.'\\TwigComponent_eb09034', 'TwigComponent_eb09034', false);
  174. }