function VariationCacheFactoryInterface::get

Same name in other branches
  1. 11.x core/lib/Drupal/Core/Cache/VariationCacheFactoryInterface.php \Drupal\Core\Cache\VariationCacheFactoryInterface::get()

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\Core\Cache\VariationCacheInterface The variation cache backend associated with the specified bin.

1 method overrides VariationCacheFactoryInterface::get()
VariationCacheFactory::get in core/lib/Drupal/Core/Cache/VariationCacheFactory.php
Gets a variation cache backend for a given cache bin.

File

core/lib/Drupal/Core/Cache/VariationCacheFactoryInterface.php, line 19

Class

VariationCacheFactoryInterface
An interface defining variation cache factory classes.

Namespace

Drupal\Core\Cache

Code

public function get($bin);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.