mix-1.1.0-rc1/src/Cache/NullBackendFactory.php
src/Cache/NullBackendFactory.php
<?php
namespace Drupal\mix\Cache;
use Drupal\Core\Cache\CacheFactoryInterface;
use Drupal\Core\Cache\NullBackend;
/**
* Defines the chained fast cache backend factory.
*/
class NullBackendFactory implements CacheFactoryInterface {
/**
* {@inheritdoc}
*/
public function get($bin) {
return new NullBackend($bin);
}
/**
* Deletes all cache items in a bin.
*/
public function deleteAll() {}
}
