public function 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 drupal/core/vendor/twig/twig/lib/Twig/Environment.php
Gets the cache filename for a given template.

File

drupal/core/vendor/twig/twig/lib/Twig/Environment.php, line 228

Class

Twig_Environment
Stores the Twig configuration.

Code

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