ApcuBackendFactory::get

public ApcuBackendFactory::get($bin)

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 60

Class

ApcuBackendFactory

Namespace

Drupal\Core\Cache

Code

1
2
3
public function get($bin) {
  return new $this->backendClass($bin, $this->sitePrefix, $this->checksumProvider);
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.