connection = $connection; $this->checksumProvider = $checksum_provider; } /** * Gets DatabaseBackend for the specified cache bin. * * @param $bin * The cache bin for which the object is created. * * @return \Drupal\Core\Cache\DatabaseBackend * The cache backend object for the specified cache bin. */ public function get($bin) { return new DatabaseBackend($this->connection, $this->checksumProvider, $bin); } }