You are here

class NullBackendFactory in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Cache/NullBackendFactory.php \Drupal\Core\Cache\NullBackendFactory

Hierarchy

Expanded class hierarchy of NullBackendFactory

1 string reference to 'NullBackendFactory'
development.services.yml in sites/development.services.yml
sites/development.services.yml
1 service uses NullBackendFactory
cache.backend.null in sites/development.services.yml
Drupal\Core\Cache\NullBackendFactory

File

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

Namespace

Drupal\Core\Cache
View source
class NullBackendFactory implements CacheFactoryInterface {

  /**
   * {@inheritdoc}
   */
  function get($bin) {
    return new NullBackend($bin);
  }

}

Members

Namesort descending Modifiers Type Description Overrides
NullBackendFactory::get function Gets a cache backend class for a given cache bin. Overrides CacheFactoryInterface::get