function ChainCache::splitKey
Return value
string[]
3 calls to ChainCache::splitKey()
- ChainCache::getTimestamp in vendor/
twig/ twig/ src/ Cache/ ChainCache.php - Returns the modification timestamp of a key.
- ChainCache::load in vendor/
twig/ twig/ src/ Cache/ ChainCache.php - Loads a template from the cache.
- ChainCache::write in vendor/
twig/ twig/ src/ Cache/ ChainCache.php - Writes the compiled template to cache.
File
-
vendor/
twig/ twig/ src/ Cache/ ChainCache.php, line 84
Class
- ChainCache
- Chains several caches together.
Namespace
Twig\CacheCode
private function splitKey(string $key) : array {
return array_reverse(explode('#', $key, 2));
}