public function getSearchService()
    {
        if ($this->searchService !== null) {
            return $this->searchService;
        }

        $this->searchService = new SearchService(
            $this,
            $this->searchHandler,
            $this->getDomainMapper(),
            $this->getPermissionCriterionResolver(),
            $this->backgroundIndexer,
            $this->serviceSettings['search']
        );

        return $this->searchService;
    }
public function getSearchService()
    {
        if ($this->searchService !== null) {
            return $this->searchService;
        }

        $this->searchService = new SearchService(
            $this,
            $this->searchHandler,
            $this->getDomainMapper(),
            $this->getPermissionCriterionResolver(),
            $this->backgroundIndexer,
            $this->serviceSettings['search']
        );

        return $this->searchService;
    }
public function getSearchService ( ) { if ( $ this -> searchService !== null ) { return $ this -> searchService ; } $ this -> searchService = new SearchService ( $ this , $ this -> searchHandler , $ this -> getDomainMapper ( ) , $ this -> getPermissionCriterionResolver ( ) , $ this -> backgroundIndexer , $ this -> serviceSettings [ 'search' ] ) ; return $ this -> searchService ; }
Get SearchService.

@return \eZ\Publish\API\Repository\SearchService
Get SearchService .