You are here

public function SearchApiServiceInterface::__construct in Search API 7

Constructs a service object.

This will set the server configuration used with this service.

Parameters

SearchApiServer $server: The server object for this service.

2 methods override SearchApiServiceInterface::__construct()
SearchApiAbstractService::__construct in includes/service.inc
Implements SearchApiServiceInterface::__construct().
SearchApiDummyService::__construct in tests/search_api_test_2.module
Constructs a service object.

File

includes/service.inc, line 29
Contains SearchApiServiceInterface and SearchApiAbstractService.

Class

SearchApiServiceInterface
Interface defining the methods search services have to implement.

Code

public function __construct(SearchApiServer $server);