Class Twig_Cache_Filesystem

InheritanceTwig_Cache_Filesystem
ImplementsTwig_CacheInterface

Implements a cache on the filesystem.

Constants

Hide inherited constants

ConstantValueDescriptionDefined By
FORCE_BYTECODE_INVALIDATION 1 Twig_Cache_Filesystem

Method Details

__construct() public method

public void __construct ( $directory, $options 0 )
$directory

String The root cache directory

$options

Int A set of options

generateKey() public method

{@inheritdoc}

public void generateKey ( $name, $className )
$name
$className
getTimestamp() public method

{@inheritdoc}

public void getTimestamp ( $key )
$key
load() public method

{@inheritdoc}

public void load ( $key )
$key
write() public method

{@inheritdoc}

public void write ( $key, $content )
$key
$content