You are here

public function PersistableCache::__construct in RESTful 7.2

PersistableCache constructor.

Parameters

string $cache_bin: The cache bin where to store the persisted cache.

File

src/Util/PersistableCache.php, line 39
Contains \Drupal\restful\Util\PersistableCache.

Class

PersistableCache

Namespace

Drupal\restful\Util

Code

public function __construct($cache_bin = NULL) {
  $this->cacheBin = $cache_bin ?: 'cache';
}