class KeyValueNullExpirableFactory

Same name in other branches
  1. 9 core/lib/Drupal/Core/KeyValueStore/KeyValueNullExpirableFactory.php \Drupal\Core\KeyValueStore\KeyValueNullExpirableFactory
  2. 8.9.x core/lib/Drupal/Core/KeyValueStore/KeyValueNullExpirableFactory.php \Drupal\Core\KeyValueStore\KeyValueNullExpirableFactory
  3. 10 core/lib/Drupal/Core/KeyValueStore/KeyValueNullExpirableFactory.php \Drupal\Core\KeyValueStore\KeyValueNullExpirableFactory

Defines the key/value store factory for the null backend.

Hierarchy

Expanded class hierarchy of KeyValueNullExpirableFactory

File

core/lib/Drupal/Core/KeyValueStore/KeyValueNullExpirableFactory.php, line 8

Namespace

Drupal\Core\KeyValueStore
View source
class KeyValueNullExpirableFactory implements KeyValueExpirableFactoryInterface {
    
    /**
     * {@inheritdoc}
     */
    public function get($collection) {
        return new NullStorageExpirable($collection);
    }

}

Members

Title Sort descending Modifiers Object type Summary Overriden Title
KeyValueNullExpirableFactory::get public function Overrides KeyValueExpirableFactoryInterface::get

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