WorkspaceProvider implements SearchProviderInterface
Read onlyYes
FinalYes
Search provider to query workspaces from database
Table of Contents
Interfaces
- SearchProviderInterface
- Interface to declare a search provider used for the backend search
Methods
- __construct() : mixed
- count() : int
- find() : array<string|int, ResultItem>
- getFilterLabel() : string
Methods
__construct()
public
__construct(FrontendInterface $runtimeCache, WorkspaceService $workspaceService, UriBuilder $uriBuilder, IconFactory $iconFactory, LanguageServiceFactory $languageServiceFactory) : mixed
Parameters
- $runtimeCache : FrontendInterface
- $workspaceService : WorkspaceService
- $uriBuilder : UriBuilder
- $iconFactory : IconFactory
- $languageServiceFactory : LanguageServiceFactory
count()
public
count(SearchDemand $searchDemand) : int
Parameters
- $searchDemand : SearchDemand
Return values
intfind()
public
find(SearchDemand $searchDemand) : array<string|int, ResultItem>
Parameters
- $searchDemand : SearchDemand
Return values
array<string|int, ResultItem>getFilterLabel()
public
getFilterLabel() : string