You are here

public function ApcuBackendFactory::get in Zircon Profile 8

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

Gets ApcuBackend for the specified cache bin.

Parameters

$bin: The cache bin for which the object is created.

Return value

\Drupal\Core\Cache\ApcuBackend The cache backend object for the specified cache bin.

Overrides CacheFactoryInterface::get

File

core/lib/Drupal/Core/Cache/ApcuBackendFactory.php, line 52
Contains \Drupal\Core\Cache\ApcuBackendFactory.

Class

ApcuBackendFactory

Namespace

Drupal\Core\Cache

Code

public function get($bin) {
  return new ApcuBackend($bin, $this->sitePrefix, $this->checksumProvider);
}