UpdateCacheBackendFactory
class UpdateCacheBackendFactory implements CacheFactoryInterface (View source)
Cache factory implementation for use during Drupal database updates.
Decorates the regular runtime cache_factory service so that caches use \Drupal\Core\Update\UpdateBackend.
Properties
| protected CacheFactoryInterface | $cacheFactory | The regular runtime cache_factory service. |
|
| protected UpdateBackend[] | $bins | Instantiated update cache bins. |
Methods
get(string $bin)
Gets a cache backend class for a given cache bin.
Details
__construct(CacheFactoryInterface $cache_factory)
UpdateCacheBackendFactory constructor.
CacheBackendInterface
get(string $bin)
Gets a cache backend class for a given cache bin.