Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ChainCache.php

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\Cache

Code

private function splitKey(string $key) : array {
    return array_reverse(explode('#', $key, 2));
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal