function NullBackend::__construct

Same name in other branches
  1. 9 core/lib/Drupal/Core/Cache/NullBackend.php \Drupal\Core\Cache\NullBackend::__construct()
  2. 8.9.x core/lib/Drupal/Core/Cache/NullBackend.php \Drupal\Core\Cache\NullBackend::__construct()
  3. 10 core/lib/Drupal/Core/Cache/NullBackend.php \Drupal\Core\Cache\NullBackend::__construct()

Constructs a NullBackend object.

Parameters

string $bin: The cache bin for which the object is created.

1 method overrides NullBackend::__construct()
UpdateBackend::__construct in core/lib/Drupal/Core/Update/UpdateBackend.php
UpdateBackend constructor.

File

core/lib/Drupal/Core/Cache/NullBackend.php, line 26

Class

NullBackend
Defines a stub cache implementation.

Namespace

Drupal\Core\Cache

Code

public function __construct($bin) {
}

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