var/cache/dev/ContainerPOZS7ZU/SeoService_4eb7b66.php line 27

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