var/cache/website/dev/ContainerLQ9Xdxx/CustomUrlRequestProcessor_292b929.php line 30

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