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

Title Deprecated Summary
NullBackendFactory

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.