Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x

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.

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal