public function ApcuBackendFactory::get in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Cache/ApcuBackendFactory.php \Drupal\Core\Cache\ApcuBackendFactory::get()
- 9 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.
File
- core/
lib/ Drupal/ Core/ Cache/ ApcuBackendFactory.php, line 55
Class
Namespace
Drupal\Core\CacheCode
public function get($bin) {
return new $this->backendClass($bin, $this->sitePrefix, $this->checksumProvider);
}