You are here

public function SurrogateInterface::renderIncludeTag 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::renderIncludeTag()

Renders a Surrogate tag.

Parameters

string $uri A URI:

string $alt An alternate URI:

bool $ignoreErrors Whether to ignore errors or not:

string $comment A comment to add as an esi:include tag:

Return value

string

2 methods override SurrogateInterface::renderIncludeTag()
Esi::renderIncludeTag in vendor/symfony/http-kernel/HttpCache/Esi.php
Renders an ESI tag.
Ssi::renderIncludeTag in vendor/symfony/http-kernel/HttpCache/Ssi.php
Renders a Surrogate tag.

File

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

Class

SurrogateInterface

Namespace

Symfony\Component\HttpKernel\HttpCache

Code

public function renderIncludeTag($uri, $alt = null, $ignoreErrors = true, $comment = '');