You are here

public function DrupalFlysystemCache::__construct in Flysystem 7

Constructs a DrupalFlysystemCache object.

Parameters

string $key: The cache key to use.

File

src/DrupalFlysystemCache.php, line 30
Contains DrupalFlysystemCache.

Class

DrupalFlysystemCache
An adapter that allows Flysystem to use Drupal's cache system.

Namespace

Drupal\flysystem

Code

public function __construct($key) {
  $this->key = $key;
}