sitemap_status-1.0.0-alpha4/src/Cache/DatabaseBackendFactory.php
src/Cache/DatabaseBackendFactory.php
<?php
namespace Drupal\sitemap_status\Cache;
use Drupal\Core\Cache\DatabaseBackendFactory as CoreDatabaseBackendFactory;
/**
* Defines the database backend factory.
*/
class DatabaseBackendFactory extends CoreDatabaseBackendFactory {
/**
* {@inheritdoc}
*/
public function get($bin) {
$max_rows = $this->getMaxRowsForBin($bin);
return new DatabaseBackend($this->connection, $this->checksumProvider, $bin, $max_rows);
}
}
