class search_backend_factory

Properties

protected config $config
protected service_collection $search_backends

Methods

__construct(config $config, service_collection $search_backends)

Constructor

get(string $class)

Obtains a specified search backend

get_active()

Obtains active search backend

Details

at line 38
__construct(config $config, service_collection $search_backends)

Constructor

Parameters

config $config
service_collection $search_backends

at line 51
search_backend_interface get(string $class)

Obtains a specified search backend

Parameters

string $class

Return Value

search_backend_interface

at line 61
search_backend_interface get_active()

Obtains active search backend