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

Open in your IDE?
  1. <?php
  2. namespace ContainerTvMS3Ec;
  3. include_once \dirname(__DIR__4).'/vendor/ezsystems/ezplatform-kernel/eZ/Publish/Core/Repository/SearchService.php';
  4. class SearchService_e90870c extends \eZ\Publish\Core\Repository\SearchService implements \ProxyManager\Proxy\VirtualProxyInterface
  5. {
  6.     /**
  7.      * @var \eZ\Publish\Core\Repository\SearchService|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 findContent(\eZ\Publish\API\Repository\Values\Content\Query $query, array $languageFilter = [], bool $filterOnUserPermissions true) : \eZ\Publish\API\Repository\Values\Content\Search\SearchResult
  21.     {
  22.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'findContent', array('query' => $query'languageFilter' => $languageFilter'filterOnUserPermissions' => $filterOnUserPermissions), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  23.         return $this->valueHoldere987c->findContent($query$languageFilter$filterOnUserPermissions);
  24.     }
  25.     public function findContentInfo(\eZ\Publish\API\Repository\Values\Content\Query $query, array $languageFilter = [], bool $filterOnUserPermissions true) : \eZ\Publish\API\Repository\Values\Content\Search\SearchResult
  26.     {
  27.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'findContentInfo', array('query' => $query'languageFilter' => $languageFilter'filterOnUserPermissions' => $filterOnUserPermissions), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  28.         return $this->valueHoldere987c->findContentInfo($query$languageFilter$filterOnUserPermissions);
  29.     }
  30.     public function findSingle(\eZ\Publish\API\Repository\Values\Content\Query\Criterion $filter, array $languageFilter = [], bool $filterOnUserPermissions true) : \eZ\Publish\API\Repository\Values\Content\Content
  31.     {
  32.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'findSingle', array('filter' => $filter'languageFilter' => $languageFilter'filterOnUserPermissions' => $filterOnUserPermissions), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  33.         return $this->valueHoldere987c->findSingle($filter$languageFilter$filterOnUserPermissions);
  34.     }
  35.     public function suggest(string $prefix, array $fieldPaths = [], int $limit 10, ?\eZ\Publish\API\Repository\Values\Content\Query\Criterion $filter null)
  36.     {
  37.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'suggest', array('prefix' => $prefix'fieldPaths' => $fieldPaths'limit' => $limit'filter' => $filter), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  38.         return $this->valueHoldere987c->suggest($prefix$fieldPaths$limit$filter);
  39.     }
  40.     public function findLocations(\eZ\Publish\API\Repository\Values\Content\LocationQuery $query, array $languageFilter = [], bool $filterOnUserPermissions true) : \eZ\Publish\API\Repository\Values\Content\Search\SearchResult
  41.     {
  42.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'findLocations', array('query' => $query'languageFilter' => $languageFilter'filterOnUserPermissions' => $filterOnUserPermissions), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  43.         return $this->valueHoldere987c->findLocations($query$languageFilter$filterOnUserPermissions);
  44.     }
  45.     public function supports(int $capabilityFlag) : bool
  46.     {
  47.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'supports', array('capabilityFlag' => $capabilityFlag), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  48.         return $this->valueHoldere987c->supports($capabilityFlag);
  49.     }
  50.     /**
  51.      * Constructor for lazy initialization
  52.      *
  53.      * @param \Closure|null $initializer
  54.      */
  55.     public static function staticProxyConstructor($initializer)
  56.     {
  57.         static $reflection;
  58.         $reflection $reflection ?? new \ReflectionClass(__CLASS__);
  59.         $instance   $reflection->newInstanceWithoutConstructor();
  60.         unset($instance->repository$instance->searchHandler$instance->settings$instance->contentDomainMapper$instance->permissionCriterionResolver$instance->backgroundIndexer);
  61.         $instance->initializer298a1 $initializer;
  62.         return $instance;
  63.     }
  64.     public function __construct(\eZ\Publish\API\Repository\Repository $repository, \eZ\Publish\SPI\Search\Handler $searchHandler, \eZ\Publish\Core\Repository\Mapper\ContentDomainMapper $contentDomainMapper, \eZ\Publish\API\Repository\PermissionCriterionResolver $permissionCriterionResolver, \eZ\Publish\Core\Search\Common\BackgroundIndexer $backgroundIndexer, array $settings = [])
  65.     {
  66.         static $reflection;
  67.         if (! $this->valueHoldere987c) {
  68.             $reflection $reflection ?? new \ReflectionClass('eZ\\Publish\\Core\\Repository\\SearchService');
  69.             $this->valueHoldere987c $reflection->newInstanceWithoutConstructor();
  70.         unset($this->repository$this->searchHandler$this->settings$this->contentDomainMapper$this->permissionCriterionResolver$this->backgroundIndexer);
  71.         }
  72.         $this->valueHoldere987c->__construct($repository$searchHandler$contentDomainMapper$permissionCriterionResolver$backgroundIndexer$settings);
  73.     }
  74.     public function & __get($name)
  75.     {
  76.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'__get', ['name' => $name], $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  77.         if (isset(self::$publicProperties1d886[$name])) {
  78.             return $this->valueHoldere987c->$name;
  79.         }
  80.         $realInstanceReflection = new \ReflectionClass('eZ\\Publish\\Core\\Repository\\SearchService');
  81.         if (! $realInstanceReflection->hasProperty($name)) {
  82.             $targetObject $this->valueHoldere987c;
  83.             $backtrace debug_backtrace(false1);
  84.             trigger_error(
  85.                 sprintf(
  86.                     'Undefined property: %s::$%s in %s on line %s',
  87.                     $realInstanceReflection->getName(),
  88.                     $name,
  89.                     $backtrace[0]['file'],
  90.                     $backtrace[0]['line']
  91.                 ),
  92.                 \E_USER_NOTICE
  93.             );
  94.             return $targetObject->$name;
  95.         }
  96.         $targetObject $this->valueHoldere987c;
  97.         $accessor = function & () use ($targetObject$name) {
  98.             return $targetObject->$name;
  99.         };
  100.         $backtrace debug_backtrace(true2);
  101.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  102.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  103.         $returnValue = & $accessor();
  104.         return $returnValue;
  105.     }
  106.     public function __set($name$value)
  107.     {
  108.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'__set', array('name' => $name'value' => $value), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  109.         $realInstanceReflection = new \ReflectionClass('eZ\\Publish\\Core\\Repository\\SearchService');
  110.         if (! $realInstanceReflection->hasProperty($name)) {
  111.             $targetObject $this->valueHoldere987c;
  112.             $targetObject->$name $value;
  113.             return $targetObject->$name;
  114.         }
  115.         $targetObject $this->valueHoldere987c;
  116.         $accessor = function & () use ($targetObject$name$value) {
  117.             $targetObject->$name $value;
  118.             return $targetObject->$name;
  119.         };
  120.         $backtrace debug_backtrace(true2);
  121.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  122.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  123.         $returnValue = & $accessor();
  124.         return $returnValue;
  125.     }
  126.     public function __isset($name)
  127.     {
  128.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'__isset', array('name' => $name), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  129.         $realInstanceReflection = new \ReflectionClass('eZ\\Publish\\Core\\Repository\\SearchService');
  130.         if (! $realInstanceReflection->hasProperty($name)) {
  131.             $targetObject $this->valueHoldere987c;
  132.             return isset($targetObject->$name);
  133.         }
  134.         $targetObject $this->valueHoldere987c;
  135.         $accessor = function () use ($targetObject$name) {
  136.             return isset($targetObject->$name);
  137.         };
  138.         $backtrace debug_backtrace(true2);
  139.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  140.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  141.         $returnValue $accessor();
  142.         return $returnValue;
  143.     }
  144.     public function __unset($name)
  145.     {
  146.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'__unset', array('name' => $name), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  147.         $realInstanceReflection = new \ReflectionClass('eZ\\Publish\\Core\\Repository\\SearchService');
  148.         if (! $realInstanceReflection->hasProperty($name)) {
  149.             $targetObject $this->valueHoldere987c;
  150.             unset($targetObject->$name);
  151.             return;
  152.         }
  153.         $targetObject $this->valueHoldere987c;
  154.         $accessor = function () use ($targetObject$name) {
  155.             unset($targetObject->$name);
  156.             return;
  157.         };
  158.         $backtrace debug_backtrace(true2);
  159.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  160.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  161.         $accessor();
  162.     }
  163.     public function __clone()
  164.     {
  165.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'__clone', array(), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  166.         $this->valueHoldere987c = clone $this->valueHoldere987c;
  167.     }
  168.     public function __sleep()
  169.     {
  170.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'__sleep', array(), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  171.         return array('valueHoldere987c');
  172.     }
  173.     public function __wakeup()
  174.     {
  175.         unset($this->repository$this->searchHandler$this->settings$this->contentDomainMapper$this->permissionCriterionResolver$this->backgroundIndexer);
  176.     }
  177.     public function setProxyInitializer(\Closure $initializer null) : void
  178.     {
  179.         $this->initializer298a1 $initializer;
  180.     }
  181.     public function getProxyInitializer() : ?\Closure
  182.     {
  183.         return $this->initializer298a1;
  184.     }
  185.     public function initializeProxy() : bool
  186.     {
  187.         return $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'initializeProxy', array(), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  188.     }
  189.     public function isProxyInitialized() : bool
  190.     {
  191.         return null !== $this->valueHoldere987c;
  192.     }
  193.     public function getWrappedValueHolderValue()
  194.     {
  195.         return $this->valueHoldere987c;
  196.     }
  197. }
  198. if (!\class_exists('SearchService_e90870c'false)) {
  199.     \class_alias(__NAMESPACE__.'\\SearchService_e90870c''SearchService_e90870c'false);
  200. }