public function Ssi::renderIncludeTag in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-kernel/HttpCache/Ssi.php \Symfony\Component\HttpKernel\HttpCache\Ssi::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
Overrides SurrogateInterface::renderIncludeTag
File
- vendor/
symfony/ http-kernel/ HttpCache/ Ssi.php, line 106
Class
- Ssi
- Ssi implements the SSI capabilities to Request and Response instances.
Namespace
Symfony\Component\HttpKernel\HttpCacheCode
public function renderIncludeTag($uri, $alt = null, $ignoreErrors = true, $comment = '') {
return sprintf('<!--#include virtual="%s" -->', $uri);
}