You are here

public function DatabaseCompatibilityHandlerInterface::getCloneForDatabase in Search API 8

Creates a clone of this service for the given database.

Parameters

\Drupal\Core\Database\Connection $database: A database of a type compatible with this class.

Return value

static A clone of this service class for the given database.

1 method overrides DatabaseCompatibilityHandlerInterface::getCloneForDatabase()
GenericDatabase::getCloneForDatabase in modules/search_api_db/src/DatabaseCompatibility/GenericDatabase.php
Creates a clone of this service for the given database.

File

modules/search_api_db/src/DatabaseCompatibility/DatabaseCompatibilityHandlerInterface.php, line 34

Class

DatabaseCompatibilityHandlerInterface
Bundles methods for resolving DBMS-specific differences.

Namespace

Drupal\search_api_db\DatabaseCompatibility

Code

public function getCloneForDatabase(Connection $database);