var/cache/dev/ContainerTvMS3Ec/StaticSiteAccessConfigResolver_883087c.php line 8

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