function DatabaseBackendFactory::get
DatabaseBackendFactory::get($bin)
Gets DatabaseBackend for the specified cache bin.
Parameters
$bin: The cache bin for which the object is created.
Return value
\Drupal\Core\Cache\DatabaseBackend The cache backend object for the specified cache bin.
Overrides CacheFactoryInterface::get
File
- core/lib/Drupal/Core/Cache/DatabaseBackendFactory.php, line 45
Class
Namespace
Drupal\Core\CacheCode
function get($bin) { return new DatabaseBackend($this->connection, $this->checksumProvider, $bin); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Cache!DatabaseBackendFactory.php/function/DatabaseBackendFactory::get/8.1.x