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