You are here

public function CacheFactoryInterface::get in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Cache/CacheFactoryInterface.php \Drupal\Core\Cache\CacheFactoryInterface::get()

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.

7 methods override CacheFactoryInterface::get()
ApcuBackendFactory::get in core/lib/Drupal/Core/Cache/ApcuBackendFactory.php
Gets ApcuBackend for the specified cache bin.
CacheFactory::get in core/lib/Drupal/Core/Cache/CacheFactory.php
Instantiates a cache backend class for a given cache bin.
ChainedFastBackendFactory::get in core/lib/Drupal/Core/Cache/ChainedFastBackendFactory.php
Instantiates a chained, fast cache backend class for a given cache bin.
DatabaseBackendFactory::get in core/lib/Drupal/Core/Cache/DatabaseBackendFactory.php
Gets DatabaseBackend for the specified cache bin.
MemoryBackendFactory::get in core/lib/Drupal/Core/Cache/MemoryBackendFactory.php
Gets a cache backend class for a given cache bin.

... See full list

File

core/lib/Drupal/Core/Cache/CacheFactoryInterface.php, line 24
Contains \Drupal\Core\Cache\CacheFactoryInterface.

Class

CacheFactoryInterface
An interface defining cache factory classes.

Namespace

Drupal\Core\Cache

Code

public function get($bin);