You are here

public function HttpCache::getLog in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/http-kernel/HttpCache/HttpCache.php \Symfony\Component\HttpKernel\HttpCache\HttpCache::getLog()

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

Return value

string A log message

1 call to HttpCache::getLog()
HttpCache::handle in vendor/symfony/http-kernel/HttpCache/HttpCache.php
Handles a Request to convert it to a Response.

File

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

Class

HttpCache
Cache provides HTTP caching.

Namespace

Symfony\Component\HttpKernel\HttpCache

Code

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