sitemap_status-1.0.0-alpha4/src/Cache/CacheFactory.php
src/Cache/CacheFactory.php
<?php
namespace Drupal\sitemap_status\Cache;
use Drupal\Core\Cache\CacheFactory as CoreCacheFactory;
/**
* Defines the cache factory.
*/
class CacheFactory extends CoreCacheFactory {
/**
* {@inheritdoc}
*/
public function get($bin) {
$service_name = 'cache.backend.database.sitemap_status';
return $this->container->get($service_name)->get($bin);
}
}
