You are here

public function CacheItemBackend::__construct in Flysystem 3.0.x

Same name and namespace in other branches
  1. 8 src/Flysystem/Adapter/CacheItemBackend.php \Drupal\flysystem\Flysystem\Adapter\CacheItemBackend::__construct()
  2. 3.x src/Flysystem/Adapter/CacheItemBackend.php \Drupal\flysystem\Flysystem\Adapter\CacheItemBackend::__construct()
  3. 2.0.x src/Flysystem/Adapter/CacheItemBackend.php \Drupal\flysystem\Flysystem\Adapter\CacheItemBackend::__construct()

Constructs a new CacheItemBackend.

Parameters

\Drupal\Core\Cache\CacheBackendInterface $cacheBackend: The Drupal cache backend to store items in.

File

src/Flysystem/Adapter/CacheItemBackend.php, line 37

Class

CacheItemBackend
Storage backend for cache items.

Namespace

Drupal\flysystem\Flysystem\Adapter

Code

public function __construct($scheme, CacheBackendInterface $cacheBackend) {
  $this->scheme = $scheme;
  $this->cacheBackend = $cacheBackend;
}