interface CacheFactoryInterface
Same name in other branches
- 9 core/lib/Drupal/Core/Cache/CacheFactoryInterface.php \Drupal\Core\Cache\CacheFactoryInterface
- 8.9.x core/lib/Drupal/Core/Cache/CacheFactoryInterface.php \Drupal\Core\Cache\CacheFactoryInterface
- 11.x core/lib/Drupal/Core/Cache/CacheFactoryInterface.php \Drupal\Core\Cache\CacheFactoryInterface
An interface defining cache factory classes.
Hierarchy
- interface \Drupal\Core\Cache\CacheFactoryInterface
Expanded class hierarchy of CacheFactoryInterface
All classes that implement CacheFactoryInterface
6 files declare their use of CacheFactoryInterface
- CacheFactoryDecorator.php in core/
modules/ system/ tests/ modules/ performance_test/ src/ Cache/ CacheFactoryDecorator.php - ChainedFastBackendFactoryTest.php in core/
tests/ Drupal/ Tests/ Core/ Cache/ ChainedFastBackendFactoryTest.php - MemoryCacheFactory.php in core/
lib/ Drupal/ Core/ Cache/ MemoryCache/ MemoryCacheFactory.php - PlaceholderingRenderCache.php in core/
lib/ Drupal/ Core/ Render/ PlaceholderingRenderCache.php - RenderCache.php in core/
lib/ Drupal/ Core/ Render/ RenderCache.php
File
-
core/
lib/ Drupal/ Core/ Cache/ CacheFactoryInterface.php, line 8
Namespace
Drupal\Core\CacheView source
interface CacheFactoryInterface {
/**
* Gets a cache backend class for a given cache bin.
*
* @param string $bin
* The cache bin for which a cache backend object should be returned.
*
* @return \Drupal\Core\Cache\CacheBackendInterface
* The cache backend object associated with the specified bin.
*/
public function get($bin);
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
CacheFactoryInterface::get | public | function | Gets a cache backend class for a given cache bin. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.