You are here

function DatabaseRawBackendFactory::__construct in Supercache 2.0.x

Same name and namespace in other branches
  1. 8 src/Cache/DatabaseRawBackendFactory.php \Drupal\supercache\Cache\DatabaseRawBackendFactory::__construct()

Constructs the DatabaseBackendFactory object.

Parameters

\Drupal\Core\Database\Connection $connection: Database connection

File

src/Cache/DatabaseRawBackendFactory.php, line 30
Contains \Drupal\supercache\Cache\DatabaseBackendFactory.

Class

DatabaseRawBackendFactory

Namespace

Drupal\supercache\Cache

Code

function __construct(Connection $connection) {
  $this->connection = $connection;
}