var/cache/dev/ContainerTvMS3Ec/ConfigResolver_06ebf82.php line 7

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