var/cache/dev/ContainerJWxKI2Z/SeoService_4eb7b66.php line 25

Open in your IDE?
  1. <?php
  2. namespace ContainerJWxKI2Z;
  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 $valueHolder15423 null;
  10.     /**
  11.      * @var \Closure|null initializer responsible for generating the wrapped object
  12.      */
  13.     private $initializer5a40e null;
  14.     /**
  15.      * @var bool[] map of public properties of the parent class
  16.      */
  17.     private static $publicProperties053a4 = [
  18.         
  19.     ];
  20.     public function getUrl($slug)
  21.     {
  22.         $this->initializer5a40e && ($this->initializer5a40e->__invoke($valueHolder15423$this'getUrl', array('slug' => $slug), $this->initializer5a40e) || 1) && $this->valueHolder15423 $valueHolder15423;
  23.         return $this->valueHolder15423->getUrl($slug);
  24.     }
  25.     public function getType($slug)
  26.     {
  27.         $this->initializer5a40e && ($this->initializer5a40e->__invoke($valueHolder15423$this'getType', array('slug' => $slug), $this->initializer5a40e) || 1) && $this->valueHolder15423 $valueHolder15423;
  28.         return $this->valueHolder15423->getType($slug);
  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 (\App\Services\SeoService $instance) {
  41.             unset($instance->em$instance->container$instance->twig);
  42.         }, $instance'App\\Services\\SeoService')->__invoke($instance);
  43.         $instance->initializer5a40e $initializer;
  44.         return $instance;
  45.     }
  46.     public function __construct(\Doctrine\ORM\EntityManagerInterface $em\Symfony\Component\DependencyInjection\ContainerInterface $container\Twig\Environment $twig)
  47.     {
  48.         static $reflection;
  49.         if (! $this->valueHolder15423) {
  50.             $reflection $reflection ?? new \ReflectionClass('App\\Services\\SeoService');
  51.             $this->valueHolder15423 $reflection->newInstanceWithoutConstructor();
  52.         \Closure::bind(function (\App\Services\SeoService $instance) {
  53.             unset($instance->em$instance->container$instance->twig);
  54.         }, $this'App\\Services\\SeoService')->__invoke($this);
  55.         }
  56.         $this->valueHolder15423->__construct($em$container$twig);
  57.     }
  58.     public function & __get($name)
  59.     {
  60.         $this->initializer5a40e && ($this->initializer5a40e->__invoke($valueHolder15423$this'__get', ['name' => $name], $this->initializer5a40e) || 1) && $this->valueHolder15423 $valueHolder15423;
  61.         if (isset(self::$publicProperties053a4[$name])) {
  62.             return $this->valueHolder15423->$name;
  63.         }
  64.         $realInstanceReflection = new \ReflectionClass('App\\Services\\SeoService');
  65.         if (! $realInstanceReflection->hasProperty($name)) {
  66.             $targetObject $this->valueHolder15423;
  67.             $backtrace debug_backtrace(false1);
  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->valueHolder15423;
  81.         $accessor = function & () use ($targetObject$name) {
  82.             return $targetObject->$name;
  83.         };
  84.         $backtrace debug_backtrace(true2);
  85.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  86.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  87.         $returnValue = & $accessor();
  88.         return $returnValue;
  89.     }
  90.     public function __set($name$value)
  91.     {
  92.         $this->initializer5a40e && ($this->initializer5a40e->__invoke($valueHolder15423$this'__set', array('name' => $name'value' => $value), $this->initializer5a40e) || 1) && $this->valueHolder15423 $valueHolder15423;
  93.         $realInstanceReflection = new \ReflectionClass('App\\Services\\SeoService');
  94.         if (! $realInstanceReflection->hasProperty($name)) {
  95.             $targetObject $this->valueHolder15423;
  96.             $targetObject->$name $value;
  97.             return $targetObject->$name;
  98.         }
  99.         $targetObject $this->valueHolder15423;
  100.         $accessor = function & () use ($targetObject$name$value) {
  101.             $targetObject->$name $value;
  102.             return $targetObject->$name;
  103.         };
  104.         $backtrace debug_backtrace(true2);
  105.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  106.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  107.         $returnValue = & $accessor();
  108.         return $returnValue;
  109.     }
  110.     public function __isset($name)
  111.     {
  112.         $this->initializer5a40e && ($this->initializer5a40e->__invoke($valueHolder15423$this'__isset', array('name' => $name), $this->initializer5a40e) || 1) && $this->valueHolder15423 $valueHolder15423;
  113.         $realInstanceReflection = new \ReflectionClass('App\\Services\\SeoService');
  114.         if (! $realInstanceReflection->hasProperty($name)) {
  115.             $targetObject $this->valueHolder15423;
  116.             return isset($targetObject->$name);
  117.         }
  118.         $targetObject $this->valueHolder15423;
  119.         $accessor = function () use ($targetObject$name) {
  120.             return isset($targetObject->$name);
  121.         };
  122.         $backtrace debug_backtrace(true2);
  123.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  124.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  125.         $returnValue $accessor();
  126.         return $returnValue;
  127.     }
  128.     public function __unset($name)
  129.     {
  130.         $this->initializer5a40e && ($this->initializer5a40e->__invoke($valueHolder15423$this'__unset', array('name' => $name), $this->initializer5a40e) || 1) && $this->valueHolder15423 $valueHolder15423;
  131.         $realInstanceReflection = new \ReflectionClass('App\\Services\\SeoService');
  132.         if (! $realInstanceReflection->hasProperty($name)) {
  133.             $targetObject $this->valueHolder15423;
  134.             unset($targetObject->$name);
  135.             return;
  136.         }
  137.         $targetObject $this->valueHolder15423;
  138.         $accessor = function () use ($targetObject$name) {
  139.             unset($targetObject->$name);
  140.             return;
  141.         };
  142.         $backtrace debug_backtrace(true2);
  143.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  144.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  145.         $accessor();
  146.     }
  147.     public function __clone()
  148.     {
  149.         $this->initializer5a40e && ($this->initializer5a40e->__invoke($valueHolder15423$this'__clone', array(), $this->initializer5a40e) || 1) && $this->valueHolder15423 $valueHolder15423;
  150.         $this->valueHolder15423 = clone $this->valueHolder15423;
  151.     }
  152.     public function __sleep()
  153.     {
  154.         $this->initializer5a40e && ($this->initializer5a40e->__invoke($valueHolder15423$this'__sleep', array(), $this->initializer5a40e) || 1) && $this->valueHolder15423 $valueHolder15423;
  155.         return array('valueHolder15423');
  156.     }
  157.     public function __wakeup()
  158.     {
  159.         \Closure::bind(function (\App\Services\SeoService $instance) {
  160.             unset($instance->em$instance->container$instance->twig);
  161.         }, $this'App\\Services\\SeoService')->__invoke($this);
  162.     }
  163.     public function setProxyInitializer(?\Closure $initializer null) : void
  164.     {
  165.         $this->initializer5a40e $initializer;
  166.     }
  167.     public function getProxyInitializer() : ?\Closure
  168.     {
  169.         return $this->initializer5a40e;
  170.     }
  171.     public function initializeProxy() : bool
  172.     {
  173.         return $this->initializer5a40e && ($this->initializer5a40e->__invoke($valueHolder15423$this'initializeProxy', array(), $this->initializer5a40e) || 1) && $this->valueHolder15423 $valueHolder15423;
  174.     }
  175.     public function isProxyInitialized() : bool
  176.     {
  177.         return null !== $this->valueHolder15423;
  178.     }
  179.     public function getWrappedValueHolderValue()
  180.     {
  181.         return $this->valueHolder15423;
  182.     }
  183. }
  184. if (!\class_exists('SeoService_4eb7b66'false)) {
  185.     \class_alias(__NAMESPACE__.'\\SeoService_4eb7b66''SeoService_4eb7b66'false);
  186. }