You are here

KeyValueNullExpirableFactory.php in Service Container 7.2

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

File

lib/Drupal/Core/KeyValueStore/KeyValueNullExpirableFactory.php
View source
<?php

/**
 * @file
 * Contains \Drupal\Core\KeyValueStore\KeyValueNullExpirableFactory.
 */
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.