You are here

KeyValueNullExpirableFactory.php in Drupal 9

Same filename and directory in other branches
  1. 8 core/lib/Drupal/Core/KeyValueStore/KeyValueNullExpirableFactory.php

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

Namesort descending Description
KeyValueNullExpirableFactory Defines the key/value store factory for the null backend.