You are here

NullBackendFactory.php in Drupal 8

Same filename and directory in other branches
  1. 9 core/lib/Drupal/Core/Cache/NullBackendFactory.php

Namespace

Drupal\Core\Cache

File

core/lib/Drupal/Core/Cache/NullBackendFactory.php
View source
<?php

namespace Drupal\Core\Cache;

class NullBackendFactory implements CacheFactoryInterface {

  /**
   * {@inheritdoc}
   */
  public function get($bin) {
    return new NullBackend($bin);
  }

}

Classes

Namesort descending Description
NullBackendFactory