function PhpBackendFactory::get in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Cache/PhpBackendFactory.php \Drupal\Core\Cache\PhpBackendFactory::get()
Gets PhpBackend for the specified cache bin.
Parameters
$bin: The cache bin for which the object is created.
Return value
\Drupal\Core\Cache\PhpBackend The cache backend object for the specified cache bin.
Overrides CacheFactoryInterface::get
File
- core/
lib/ Drupal/ Core/ Cache/ PhpBackendFactory.php, line 38 - Contains \Drupal\Core\Cache\PhpBackendFactory.
Class
Namespace
Drupal\Core\CacheCode
function get($bin) {
return new PhpBackend($bin, $this->checksumProvider);
}