KeyValueNullExpirableFactory.php

Same filename in other branches
  1. 9 core/lib/Drupal/Core/KeyValueStore/KeyValueNullExpirableFactory.php
  2. 10 core/lib/Drupal/Core/KeyValueStore/KeyValueNullExpirableFactory.php
  3. 11.x core/lib/Drupal/Core/KeyValueStore/KeyValueNullExpirableFactory.php

Namespace

Drupal\Core\KeyValueStore

File

core/lib/Drupal/Core/KeyValueStore/KeyValueNullExpirableFactory.php

View source
<?php

namespace Drupal\Core\KeyValueStore;


/**
 * Defines the key/value store factory for the null backend.
 */
class KeyValueNullExpirableFactory implements KeyValueExpirableFactoryInterface {
    
    /**
     * {@inheritdoc}
     */
    public function get($collection) {
        return new NullStorageExpirable($collection);
    }

}

Classes

Title Deprecated Summary
KeyValueNullExpirableFactory Defines the key/value store factory for the null backend.

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