var/cache/dev/ContainerZzvtrxU/Redir_2a24bfe.php line 25

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