interface CacheFactoryInterface in Zircon Profile 8.0
Same name and namespace in other branches
- 8 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
2 files declare their use of CacheFactoryInterface
- PlaceholderingRenderCache.php in core/
lib/ Drupal/ Core/ Render/ PlaceholderingRenderCache.php - Contains \Drupal\Core\Render\PlaceholderingRenderCache.
- RenderCache.php in core/
lib/ Drupal/ Core/ Render/ RenderCache.php - Contains \Drupal\Core\Render\RenderCache.
File
- core/
lib/ Drupal/ Core/ Cache/ CacheFactoryInterface.php, line 13 - Contains \Drupal\Core\Cache\CacheFactoryInterface.
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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
CacheFactoryInterface:: |
public | function | Gets a cache backend class for a given cache bin. | 7 |