function NullBackendFactory::get

Same name in other branches
  1. 9 core/lib/Drupal/Core/Cache/NullBackendFactory.php \Drupal\Core\Cache\NullBackendFactory::get()
  2. 8.9.x core/lib/Drupal/Core/Cache/NullBackendFactory.php \Drupal\Core\Cache\NullBackendFactory::get()
  3. 10 core/lib/Drupal/Core/Cache/NullBackendFactory.php \Drupal\Core\Cache\NullBackendFactory::get()

Overrides CacheFactoryInterface::get

File

core/lib/Drupal/Core/Cache/NullBackendFactory.php, line 10

Class

NullBackendFactory

Namespace

Drupal\Core\Cache

Code

public function get($bin) {
    return new NullBackend($bin);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.