CacheFactoryInterface::get

public function CacheFactoryInterface::get

public CacheFactoryInterface::get($bin)

Gets a cache backend class for a given cache bin.

Parameters

string $bin: The cache bin for which a cache backend object should be returned.

Return value

\Drupal\Core\Cache\CacheBackendInterface The cache backend object associated with the specified bin.

File

core/lib/Drupal/Core/Cache/CacheFactoryI