var/cache/dev/ContainerTvMS3Ec/CatalogHelper_62aa71c.php line 6

Open in your IDE?
  1. <?php
  2. namespace ContainerTvMS3Ec;
  3. include_once \dirname(__DIR__4).'/vendor/ezsystems/ezcommerce-shop/src/Silversolutions/Bundle/EshopBundle/Service/CatalogHelper.php';
  4. class CatalogHelper_62aa71c extends \Silversolutions\Bundle\EshopBundle\Service\CatalogHelper implements \ProxyManager\Proxy\VirtualProxyInterface
  5. {
  6.     /**
  7.      * @var \Silversolutions\Bundle\EshopBundle\Service\CatalogHelper|null wrapped object, if the proxy is initialized
  8.      */
  9.     private $valueHoldere987c null;
  10.     /**
  11.      * @var \Closure|null initializer responsible for generating the wrapped object
  12.      */
  13.     private $initializer298a1 null;
  14.     /**
  15.      * @var bool[] map of public properties of the parent class
  16.      */
  17.     private static $publicProperties1d886 = [
  18.         
  19.     ];
  20.     public function setParams()
  21.     {
  22.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'setParams', array(), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  23.         return $this->valueHoldere987c->setParams();
  24.     }
  25.     public function isProductCatalogEnabled()
  26.     {
  27.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'isProductCatalogEnabled', array(), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  28.         return $this->valueHoldere987c->isProductCatalogEnabled();
  29.     }
  30.     public function getProductCatalogIdentifier()
  31.     {
  32.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'getProductCatalogIdentifier', array(), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  33.         return $this->valueHoldere987c->getProductCatalogIdentifier();
  34.     }
  35.     public function getProductCatalogConfiguration(\eZ\Publish\API\Repository\Values\Content\Search\SearchHit $searchHit)
  36.     {
  37.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'getProductCatalogConfiguration', array('searchHit' => $searchHit), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  38.         return $this->valueHoldere987c->getProductCatalogConfiguration($searchHit);
  39.     }
  40.     public function getProductCatalogRootNodeId(\eZ\Publish\API\Repository\Values\Content\Search\SearchHit $searchHit)
  41.     {
  42.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'getProductCatalogRootNodeId', array('searchHit' => $searchHit), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  43.         return $this->valueHoldere987c->getProductCatalogRootNodeId($searchHit);
  44.     }
  45.     public function getProductCatalogDepth(\eZ\Publish\API\Repository\Values\Content\Search\SearchHit $searchHit)
  46.     {
  47.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'getProductCatalogDepth', array('searchHit' => $searchHit), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  48.         return $this->valueHoldere987c->getProductCatalogDepth($searchHit);
  49.     }
  50.     public function getProductCatalogRootNodeUrl($locationId)
  51.     {
  52.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'getProductCatalogRootNodeUrl', array('locationId' => $locationId), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  53.         return $this->valueHoldere987c->getProductCatalogRootNodeUrl($locationId);
  54.     }
  55.     public function isProductCatalog(\eZ\Publish\API\Repository\Values\Content\Search\SearchHit $searchHit)
  56.     {
  57.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'isProductCatalog', array('searchHit' => $searchHit), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  58.         return $this->valueHoldere987c->isProductCatalog($searchHit);
  59.     }
  60.     public function fetchProductCatalog($locationId)
  61.     {
  62.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'fetchProductCatalog', array('locationId' => $locationId), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  63.         return $this->valueHoldere987c->fetchProductCatalog($locationId);
  64.     }
  65.     public function fetchAllProductCatalogs()
  66.     {
  67.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'fetchAllProductCatalogs', array(), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  68.         return $this->valueHoldere987c->fetchAllProductCatalogs();
  69.     }
  70.     public function getCatalogElementUrls() : ?array
  71.     {
  72.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'getCatalogElementUrls', array(), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  73.         return $this->valueHoldere987c->getCatalogElementUrls();
  74.     }
  75.     public function getParentProductCatalog(\Silversolutions\Bundle\EshopBundle\Catalog\CatalogElement $catalogElement)
  76.     {
  77.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'getParentProductCatalog', array('catalogElement' => $catalogElement), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  78.         return $this->valueHoldere987c->getParentProductCatalog($catalogElement);
  79.     }
  80.     /**
  81.      * Constructor for lazy initialization
  82.      *
  83.      * @param \Closure|null $initializer
  84.      */
  85.     public static function staticProxyConstructor($initializer)
  86.     {
  87.         static $reflection;
  88.         $reflection $reflection ?? new \ReflectionClass(__CLASS__);
  89.         $instance   $reflection->newInstanceWithoutConstructor();
  90.         unset($instance->ezHelperService$instance->searchService$instance->translationHelper$instance->catalogDataProviderService$instance->configResolver$instance->urlAliasGenerator$instance->locationService$instance->cache$instance->siteAccess$instance->logging$instance->cacheTtl);
  91.         $instance->initializer298a1 $initializer;
  92.         return $instance;
  93.     }
  94.     public function __construct(\eZ\Publish\Core\MVC\ConfigResolverInterface $configResolver, \eZ\Publish\API\Repository\ContentService $contentService, \eZ\Publish\Core\Helper\TranslationHelper $translationHelper, \Silversolutions\Bundle\ToolsBundle\Services\EzHelperService $ezHelperService, \eZ\Publish\API\Repository\SearchService $searchService, \Silversolutions\Bundle\EshopBundle\Services\Catalog\CatalogDataProviderService $catalogDataProviderService, \eZ\Publish\Core\MVC\Symfony\Routing\Generator\UrlAliasGenerator $urlAliasGenerator, \eZ\Publish\API\Repository\LocationService $locationService, \Stash\Interfaces\PoolInterface $cache, \eZ\Publish\Core\MVC\Symfony\SiteAccess $siteAccess, \Monolog\Logger $logging)
  95.     {
  96.         static $reflection;
  97.         if (! $this->valueHoldere987c) {
  98.             $reflection $reflection ?? new \ReflectionClass('Silversolutions\\Bundle\\EshopBundle\\Service\\CatalogHelper');
  99.             $this->valueHoldere987c $reflection->newInstanceWithoutConstructor();
  100.         unset($this->ezHelperService$this->searchService$this->translationHelper$this->catalogDataProviderService$this->configResolver$this->urlAliasGenerator$this->locationService$this->cache$this->siteAccess$this->logging$this->cacheTtl);
  101.         }
  102.         $this->valueHoldere987c->__construct($configResolver$contentService$translationHelper$ezHelperService$searchService$catalogDataProviderService$urlAliasGenerator$locationService$cache$siteAccess$logging);
  103.     }
  104.     public function & __get($name)
  105.     {
  106.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'__get', ['name' => $name], $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  107.         if (isset(self::$publicProperties1d886[$name])) {
  108.             return $this->valueHoldere987c->$name;
  109.         }
  110.         $realInstanceReflection = new \ReflectionClass('Silversolutions\\Bundle\\EshopBundle\\Service\\CatalogHelper');
  111.         if (! $realInstanceReflection->hasProperty($name)) {
  112.             $targetObject $this->valueHoldere987c;
  113.             $backtrace debug_backtrace(false1);
  114.             trigger_error(
  115.                 sprintf(
  116.                     'Undefined property: %s::$%s in %s on line %s',
  117.                     $realInstanceReflection->getName(),
  118.                     $name,
  119.                     $backtrace[0]['file'],
  120.                     $backtrace[0]['line']
  121.                 ),
  122.                 \E_USER_NOTICE
  123.             );
  124.             return $targetObject->$name;
  125.         }
  126.         $targetObject $this->valueHoldere987c;
  127.         $accessor = function & () use ($targetObject$name) {
  128.             return $targetObject->$name;
  129.         };
  130.         $backtrace debug_backtrace(true2);
  131.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  132.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  133.         $returnValue = & $accessor();
  134.         return $returnValue;
  135.     }
  136.     public function __set($name$value)
  137.     {
  138.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'__set', array('name' => $name'value' => $value), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  139.         $realInstanceReflection = new \ReflectionClass('Silversolutions\\Bundle\\EshopBundle\\Service\\CatalogHelper');
  140.         if (! $realInstanceReflection->hasProperty($name)) {
  141.             $targetObject $this->valueHoldere987c;
  142.             $targetObject->$name $value;
  143.             return $targetObject->$name;
  144.         }
  145.         $targetObject $this->valueHoldere987c;
  146.         $accessor = function & () use ($targetObject$name$value) {
  147.             $targetObject->$name $value;
  148.             return $targetObject->$name;
  149.         };
  150.         $backtrace debug_backtrace(true2);
  151.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  152.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  153.         $returnValue = & $accessor();
  154.         return $returnValue;
  155.     }
  156.     public function __isset($name)
  157.     {
  158.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'__isset', array('name' => $name), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  159.         $realInstanceReflection = new \ReflectionClass('Silversolutions\\Bundle\\EshopBundle\\Service\\CatalogHelper');
  160.         if (! $realInstanceReflection->hasProperty($name)) {
  161.             $targetObject $this->valueHoldere987c;
  162.             return isset($targetObject->$name);
  163.         }
  164.         $targetObject $this->valueHoldere987c;
  165.         $accessor = function () use ($targetObject$name) {
  166.             return isset($targetObject->$name);
  167.         };
  168.         $backtrace debug_backtrace(true2);
  169.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  170.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  171.         $returnValue $accessor();
  172.         return $returnValue;
  173.     }
  174.     public function __unset($name)
  175.     {
  176.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'__unset', array('name' => $name), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  177.         $realInstanceReflection = new \ReflectionClass('Silversolutions\\Bundle\\EshopBundle\\Service\\CatalogHelper');
  178.         if (! $realInstanceReflection->hasProperty($name)) {
  179.             $targetObject $this->valueHoldere987c;
  180.             unset($targetObject->$name);
  181.             return;
  182.         }
  183.         $targetObject $this->valueHoldere987c;
  184.         $accessor = function () use ($targetObject$name) {
  185.             unset($targetObject->$name);
  186.             return;
  187.         };
  188.         $backtrace debug_backtrace(true2);
  189.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  190.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  191.         $accessor();
  192.     }
  193.     public function __clone()
  194.     {
  195.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'__clone', array(), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  196.         $this->valueHoldere987c = clone $this->valueHoldere987c;
  197.     }
  198.     public function __sleep()
  199.     {
  200.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'__sleep', array(), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  201.         return array('valueHoldere987c');
  202.     }
  203.     public function __wakeup()
  204.     {
  205.         unset($this->ezHelperService$this->searchService$this->translationHelper$this->catalogDataProviderService$this->configResolver$this->urlAliasGenerator$this->locationService$this->cache$this->siteAccess$this->logging$this->cacheTtl);
  206.     }
  207.     public function setProxyInitializer(\Closure $initializer null) : void
  208.     {
  209.         $this->initializer298a1 $initializer;
  210.     }
  211.     public function getProxyInitializer() : ?\Closure
  212.     {
  213.         return $this->initializer298a1;
  214.     }
  215.     public function initializeProxy() : bool
  216.     {
  217.         return $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'initializeProxy', array(), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  218.     }
  219.     public function isProxyInitialized() : bool
  220.     {
  221.         return null !== $this->valueHoldere987c;
  222.     }
  223.     public function getWrappedValueHolderValue()
  224.     {
  225.         return $this->valueHoldere987c;
  226.     }
  227. }
  228. if (!\class_exists('CatalogHelper_62aa71c'false)) {
  229.     \class_alias(__NAMESPACE__.'\\CatalogHelper_62aa71c''CatalogHelper_62aa71c'false);
  230. }