You are here

public function Twig_Cache_Filesystem::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/twig/twig/lib/Twig/Cache/Filesystem.php \Twig_Cache_Filesystem::__construct()

Parameters

$directory string The root cache directory:

$options int A set of options:

File

vendor/twig/twig/lib/Twig/Cache/Filesystem.php, line 28

Class

Twig_Cache_Filesystem
Implements a cache on the filesystem.

Code

public function __construct($directory, $options = 0) {
  $this->directory = $directory;
  $this->options = $options;
}