class SearchManager

Methods

__construct(array $drivers, array $indexers, SettingsRepositoryInterface $settings, Container $container)

No description

driver(string|null $name)

No description

driverFor(string $resourceClass)

No description

array
indexers(string $resourceClass)

No description

bool
indexable(string $resourceClass)

No description

query(string $resourceClass, SearchCriteria $criteria)

No description

Details

__construct(array $drivers, array $indexers, SettingsRepositoryInterface $settings, Container $container)

Parameters

array $drivers
array $indexers
SettingsRepositoryInterface $settings
Container $container

AbstractDriver driver(string|null $name)

Parameters

string|null $name

Return Value

AbstractDriver

AbstractDriver driverFor(string $resourceClass)

Parameters

string $resourceClass

Return Value

AbstractDriver

array indexers(string $resourceClass)

Parameters

string $resourceClass

Return Value

array

bool indexable(string $resourceClass)

Parameters

string $resourceClass

Return Value

bool

SearchResults query(string $resourceClass, SearchCriteria $criteria)

Parameters

string $resourceClass
SearchCriteria $criteria

Return Value

SearchResults