function DrushFileCache::__construct

6.x cache.inc DrushFileCache::__construct($bin)
5.x cache.inc DrushFileCache::__construct($bin)

Constructor.

Parameters

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

Overrides DrushCacheInterface::__construct

File

includes/cache.inc, line 308
Drush cache API

Class

DrushFileCache
Default cache implementation.

Code

function __construct($bin) {
  $this->bin = $bin;
  $this->directory = $this->cacheDirectory();
}