<?phpnamespace ContainerSzWx2pB;include_once \dirname(__DIR__, 4).'/src/Services/Seo/Redir.php';class Redir_2a24bfe extends \App\Services\Seo\Redir implements \ProxyManager\Proxy\VirtualProxyInterface{ /** * @var \App\Services\Seo\Redir|null wrapped object, if the proxy is initialized */ private $valueHolderc78ef = null; /** * @var \Closure|null initializer responsible for generating the wrapped object */ private $initializera61be = null; /** * @var bool[] map of public properties of the parent class */ private static $publicProperties4a11e = [ ]; public function getUrl($slug) { $this->initializera61be && ($this->initializera61be->__invoke($valueHolderc78ef, $this, 'getUrl', array('slug' => $slug), $this->initializera61be) || 1) && $this->valueHolderc78ef = $valueHolderc78ef; return $this->valueHolderc78ef->getUrl($slug); } public function getType($slug) { $this->initializera61be && ($this->initializera61be->__invoke($valueHolderc78ef, $this, 'getType', array('slug' => $slug), $this->initializera61be) || 1) && $this->valueHolderc78ef = $valueHolderc78ef; return $this->valueHolderc78ef->getType($slug); } public function transformLinksInContent(string $content): string { $this->initializera61be && ($this->initializera61be->__invoke($valueHolderc78ef, $this, 'transformLinksInContent', array('content' => $content), $this->initializera61be) || 1) && $this->valueHolderc78ef = $valueHolderc78ef; return $this->valueHolderc78ef->transformLinksInContent($content); } public function transformUrl(string $url): string { $this->initializera61be && ($this->initializera61be->__invoke($valueHolderc78ef, $this, 'transformUrl', array('url' => $url), $this->initializera61be) || 1) && $this->valueHolderc78ef = $valueHolderc78ef; return $this->valueHolderc78ef->transformUrl($url); } public function extractPathFromUrl(string $url): ?string { $this->initializera61be && ($this->initializera61be->__invoke($valueHolderc78ef, $this, 'extractPathFromUrl', array('url' => $url), $this->initializera61be) || 1) && $this->valueHolderc78ef = $valueHolderc78ef; return $this->valueHolderc78ef->extractPathFromUrl($url); } public function preloadRedirections(): void { $this->initializera61be && ($this->initializera61be->__invoke($valueHolderc78ef, $this, 'preloadRedirections', array(), $this->initializera61be) || 1) && $this->valueHolderc78ef = $valueHolderc78ef; $this->valueHolderc78ef->preloadRedirections();return; } /** * 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 (\App\Services\Seo\Redir $instance) { unset($instance->em, $instance->container, $instance->twig, $instance->requestStack, $instance->redirectionCache); }, $instance, 'App\\Services\\Seo\\Redir')->__invoke($instance); $instance->initializera61be = $initializer; return $instance; } public function __construct(\Doctrine\ORM\EntityManagerInterface $em, \Symfony\Component\DependencyInjection\ContainerInterface $container, \Twig\Environment $twig, \Symfony\Component\HttpFoundation\RequestStack $requestStack) { static $reflection; if (! $this->valueHolderc78ef) { $reflection = $reflection ?? new \ReflectionClass('App\\Services\\Seo\\Redir'); $this->valueHolderc78ef = $reflection->newInstanceWithoutConstructor(); \Closure::bind(function (\App\Services\Seo\Redir $instance) { unset($instance->em, $instance->container, $instance->twig, $instance->requestStack, $instance->redirectionCache); }, $this, 'App\\Services\\Seo\\Redir')->__invoke($this); } $this->valueHolderc78ef->__construct($em, $container, $twig, $requestStack); } public function & __get($name) { $this->initializera61be && ($this->initializera61be->__invoke($valueHolderc78ef, $this, '__get', ['name' => $name], $this->initializera61be) || 1) && $this->valueHolderc78ef = $valueHolderc78ef; if (isset(self::$publicProperties4a11e[$name])) { return $this->valueHolderc78ef->$name; } $realInstanceReflection = new \ReflectionClass('App\\Services\\Seo\\Redir'); if (! $realInstanceReflection->hasProperty($name)) { $targetObject = $this->valueHolderc78ef; $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->valueHolderc78ef; $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->initializera61be && ($this->initializera61be->__invoke($valueHolderc78ef, $this, '__set', array('name' => $name, 'value' => $value), $this->initializera61be) || 1) && $this->valueHolderc78ef = $valueHolderc78ef; $realInstanceReflection = new \ReflectionClass('App\\Services\\Seo\\Redir'); if (! $realInstanceReflection->hasProperty($name)) { $targetObject = $this->valueHolderc78ef; $targetObject->$name = $value; return $targetObject->$name; } $targetObject = $this->valueHolderc78ef; $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->initializera61be && ($this->initializera61be->__invoke($valueHolderc78ef, $this, '__isset', array('name' => $name), $this->initializera61be) || 1) && $this->valueHolderc78ef = $valueHolderc78ef; $realInstanceReflection = new \ReflectionClass('App\\Services\\Seo\\Redir'); if (! $realInstanceReflection->hasProperty($name)) { $targetObject = $this->valueHolderc78ef; return isset($targetObject->$name); } $targetObject = $this->valueHolderc78ef; $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->initializera61be && ($this->initializera61be->__invoke($valueHolderc78ef, $this, '__unset', array('name' => $name), $this->initializera61be) || 1) && $this->valueHolderc78ef = $valueHolderc78ef; $realInstanceReflection = new \ReflectionClass('App\\Services\\Seo\\Redir'); if (! $realInstanceReflection->hasProperty($name)) { $targetObject = $this->valueHolderc78ef; unset($targetObject->$name); return; } $targetObject = $this->valueHolderc78ef; $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->initializera61be && ($this->initializera61be->__invoke($valueHolderc78ef, $this, '__clone', array(), $this->initializera61be) || 1) && $this->valueHolderc78ef = $valueHolderc78ef; $this->valueHolderc78ef = clone $this->valueHolderc78ef; } public function __sleep() { $this->initializera61be && ($this->initializera61be->__invoke($valueHolderc78ef, $this, '__sleep', array(), $this->initializera61be) || 1) && $this->valueHolderc78ef = $valueHolderc78ef; return array('valueHolderc78ef'); } public function __wakeup() { \Closure::bind(function (\App\Services\Seo\Redir $instance) { unset($instance->em, $instance->container, $instance->twig, $instance->requestStack, $instance->redirectionCache); }, $this, 'App\\Services\\Seo\\Redir')->__invoke($this); } public function setProxyInitializer(?\Closure $initializer = null): void { $this->initializera61be = $initializer; } public function getProxyInitializer(): ?\Closure { return $this->initializera61be; } public function initializeProxy(): bool { return $this->initializera61be && ($this->initializera61be->__invoke($valueHolderc78ef, $this, 'initializeProxy', array(), $this->initializera61be) || 1) && $this->valueHolderc78ef = $valueHolderc78ef; } public function isProxyInitialized(): bool { return null !== $this->valueHolderc78ef; } public function getWrappedValueHolderValue() { return $this->valueHolderc78ef; }}if (!\class_exists('Redir_2a24bfe', false)) { \class_alias(__NAMESPACE__.'\\Redir_2a24bfe', 'Redir_2a24bfe', false);}