You are here

public function PhpFileCache::__construct in Plug 7

Constructor.

Parameters

string $directory The cache directory.:

string $extension The cache file extension.:

Throws

\InvalidArgumentException

Overrides FileCache::__construct

File

lib/doctrine/cache/lib/Doctrine/Common/Cache/PhpFileCache.php, line 35

Class

PhpFileCache
Php file cache driver.

Namespace

Doctrine\Common\Cache

Code

public function __construct($directory, $extension = self::EXTENSION) {
  parent::__construct($directory, $extension);
}