KeyValueNullExpirableFactory.php 322 Bytes
Newer Older
1 2 3 4 5 6 7
<?php

namespace Drupal\Core\KeyValueStore;

/**
 * Defines the key/value store factory for the null backend.
 */
8
class KeyValueNullExpirableFactory implements KeyValueExpirableFactoryInterface {
9 10

  /**
11
   * {@inheritdoc}
12 13 14 15
   */
  public function get($collection) {
    return new NullStorageExpirable($collection);
  }
16

17
}