<?php
namespace ContainerLdx99y9;
include_once \dirname(__DIR__, 5).'/vendor/sulu/sulu/src/Sulu/Bundle/CustomUrlBundle/Request/CustomUrlRequestProcessor.php';
class CustomUrlRequestProcessor_292b929 extends \Sulu\Bundle\CustomUrlBundle\Request\CustomUrlRequestProcessor implements \ProxyManager\Proxy\VirtualProxyInterface
{
/**
* @var \Sulu\Bundle\CustomUrlBundle\Request\CustomUrlRequestProcessor|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 process(\Symfony\Component\HttpFoundation\Request $request, \Sulu\Component\Webspace\Analyzer\Attributes\RequestAttributes $requestAttributes)
{
$this->initializer62f8a && ($this->initializer62f8a->__invoke($valueHolderf3171, $this, 'process', array('request' => $request, 'requestAttributes' => $requestAttributes), $this->initializer62f8a) || 1) && $this->valueHolderf3171 = $valueHolderf3171;
return $this->valueHolderf3171->process($request, $requestAttributes);
}
public function validate(\Sulu\Component\Webspace\Analyzer\Attributes\RequestAttributes $attributes)
{
$this->initializer62f8a && ($this->initializer62f8a->__invoke($valueHolderf3171, $this, 'validate', array('attributes' => $attributes), $this->initializer62f8a) || 1) && $this->valueHolderf3171 = $valueHolderf3171;
return $this->valueHolderf3171->validate($attributes);
}
/**
* 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 (\Sulu\Bundle\CustomUrlBundle\Request\CustomUrlRequestProcessor $instance) {
unset($instance->customUrlManager, $instance->generator, $instance->webspaceManager, $instance->environment);
}, $instance, 'Sulu\\Bundle\\CustomUrlBundle\\Request\\CustomUrlRequestProcessor')->__invoke($instance);
$instance->initializer62f8a = $initializer;
return $instance;
}
public function __construct(\Sulu\Component\CustomUrl\Manager\CustomUrlManagerInterface $customUrlManager, \Sulu\Component\CustomUrl\Generator\GeneratorInterface $generator, \Sulu\Component\Webspace\Manager\WebspaceManagerInterface $webspaceManager, $environment)
{
static $reflection;
if (! $this->valueHolderf3171) {
$reflection = $reflection ?? new \ReflectionClass('Sulu\\Bundle\\CustomUrlBundle\\Request\\CustomUrlRequestProcessor');
$this->valueHolderf3171 = $reflection->newInstanceWithoutConstructor();
\Closure::bind(function (\Sulu\Bundle\CustomUrlBundle\Request\CustomUrlRequestProcessor $instance) {
unset($instance->customUrlManager, $instance->generator, $instance->webspaceManager, $instance->environment);
}, $this, 'Sulu\\Bundle\\CustomUrlBundle\\Request\\CustomUrlRequestProcessor')->__invoke($this);
}
$this->valueHolderf3171->__construct($customUrlManager, $generator, $webspaceManager, $environment);
}
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('Sulu\\Bundle\\CustomUrlBundle\\Request\\CustomUrlRequestProcessor');
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('Sulu\\Bundle\\CustomUrlBundle\\Request\\CustomUrlRequestProcessor');
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('Sulu\\Bundle\\CustomUrlBundle\\Request\\CustomUrlRequestProcessor');
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('Sulu\\Bundle\\CustomUrlBundle\\Request\\CustomUrlRequestProcessor');
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 (\Sulu\Bundle\CustomUrlBundle\Request\CustomUrlRequestProcessor $instance) {
unset($instance->customUrlManager, $instance->generator, $instance->webspaceManager, $instance->environment);
}, $this, 'Sulu\\Bundle\\CustomUrlBundle\\Request\\CustomUrlRequestProcessor')->__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('CustomUrlRequestProcessor_292b929', false)) {
\class_alias(__NAMESPACE__.'\\CustomUrlRequestProcessor_292b929', 'CustomUrlRequestProcessor_292b929', false);
}