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

Breadcrumb

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

function HttpCache::getLog

Returns a log message for the events of the last request processing.

1 call to HttpCache::getLog()
HttpCache::addTraces in vendor/symfony/http-kernel/HttpCache/HttpCache.php

File

vendor/symfony/http-kernel/HttpCache/HttpCache.php, line 148

Class

HttpCache
Cache provides HTTP caching.

Namespace

Symfony\Component\HttpKernel\HttpCache

Code

public function getLog() : string {
    $log = [];
    foreach ($this->traces as $request => $traces) {
        $log[] = \sprintf('%s: %s', $request, implode(', ', $traces));
    }
    return implode('; ', $log);
}

API Navigation

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