You are here

public function Twig_Environment::getCache in Translation template extractor 6.3

Same name and namespace in other branches
  1. 7.3 vendor/Twig/Environment.php \Twig_Environment::getCache()

Gets the cache directory or false if cache is disabled.

Return value

string|false

1 call to Twig_Environment::getCache()
Twig_Environment::getCacheFilename in vendor/Twig/Environment.php
Gets the cache filename for a given template.

File

vendor/Twig/Environment.php, line 221

Class

Twig_Environment
Stores the Twig configuration.

Code

public function getCache() {
  return $this->cache;
}