public function VariationCacheFactoryInterface::get in VariationCache 8
Gets a variation cache backend for a given cache bin.
Parameters
string $bin: The cache bin for which a variation cache backend should be returned.
Return value
\Drupal\variationcache\Cache\VariationCacheInterface The variation cache backend associated with the specified bin.
1 method overrides VariationCacheFactoryInterface::get()
- VariationCacheFactory::get in src/
Cache/ VariationCacheFactory.php - Gets a variation cache backend for a given cache bin.
File
- src/
Cache/ VariationCacheFactoryInterface.php, line 25
Class
- VariationCacheFactoryInterface
- Defines an interface for variation cache implementations.
Namespace
Drupal\variationcache\CacheCode
public function get($bin);