You are here

public function NullStorageExpirable::__construct in Service Container 7.2

Same name and namespace in other branches
  1. 7 lib/Drupal/Core/KeyValueStore/NullStorageExpirable.php \Drupal\Core\KeyValueStore\NullStorageExpirable::__construct()

Creates a new expirable null key/value store.

File

lib/Drupal/Core/KeyValueStore/NullStorageExpirable.php, line 32
Contains \Drupal\Core\KeyValueStore\NullStorageExpirable.

Class

NullStorageExpirable
Defines a null key/value store implementation.

Namespace

Drupal\Core\KeyValueStore

Code

public function __construct($collection) {
  $this->collection = $collection;
}