class NullBackendFactory
Same name in other branches
- 9 core/lib/Drupal/Core/Cache/NullBackendFactory.php \Drupal\Core\Cache\NullBackendFactory
- 8.9.x core/lib/Drupal/Core/Cache/NullBackendFactory.php \Drupal\Core\Cache\NullBackendFactory
- 10 core/lib/Drupal/Core/Cache/NullBackendFactory.php \Drupal\Core\Cache\NullBackendFactory
Hierarchy
- class \Drupal\Core\Cache\NullBackendFactory implements \Drupal\Core\Cache\CacheFactoryInterface
Expanded class hierarchy of NullBackendFactory
1 file declares its use of NullBackendFactory
- DevelopmentSettingsPass.php in core/
lib/ Drupal/ Core/ DependencyInjection/ Compiler/ DevelopmentSettingsPass.php
2 string references to 'NullBackendFactory'
- development.services.yml in sites/
development.services.yml - sites/development.services.yml
- development.services.yml in core/
assets/ scaffold/ files/ development.services.yml - core/assets/scaffold/files/development.services.yml
2 services use NullBackendFactory
- cache.backend.null in sites/
development.services.yml - Drupal\Core\Cache\NullBackendFactory
- cache.backend.null in core/
assets/ scaffold/ files/ development.services.yml - Drupal\Core\Cache\NullBackendFactory
File
-
core/
lib/ Drupal/ Core/ Cache/ NullBackendFactory.php, line 5
Namespace
Drupal\Core\CacheView source
class NullBackendFactory implements CacheFactoryInterface {
/**
* {@inheritdoc}
*/
public function get($bin) {
return new NullBackend($bin);
}
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overriden Title |
---|---|---|---|---|
NullBackendFactory::get | public | function | Gets a cache backend class for a given cache bin. | Overrides CacheFactoryInterface::get |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.