You are here

public function SurrogateInterface::handle in Zircon Profile 8

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

Handles a Surrogate from the cache.

Parameters

HttpCache $cache An HttpCache instance:

string $uri The main URI:

string $alt An alternative URI:

bool $ignoreErrors Whether to ignore errors or not:

Return value

string

Throws

\RuntimeException

\Exception

2 methods override SurrogateInterface::handle()
Esi::handle in vendor/symfony/http-kernel/HttpCache/Esi.php
Handles an ESI from the cache.
Ssi::handle in vendor/symfony/http-kernel/HttpCache/Ssi.php
Handles a Surrogate from the cache.

File

vendor/symfony/http-kernel/HttpCache/SurrogateInterface.php, line 102

Class

SurrogateInterface

Namespace

Symfony\Component\HttpKernel\HttpCache

Code

public function handle(HttpCache $cache, $uri, $alt, $ignoreErrors);