예제 #1
0
 /**
  * Get SearchService
  *
  * @return \eZ\Publish\API\Repository\SearchService
  */
 public function getSearchService()
 {
     if ($this->searchService !== null) {
         return $this->searchService;
     }
     $this->searchService = new SearchService($this, $this->persistenceHandler->searchHandler(), $this->persistenceHandler->locationSearchHandler(), $this->getDomainMapper(), $this->getPermissionsCriterionHandler(), $this->serviceSettings['search']);
     return $this->searchService;
 }