public function Ssi::__construct in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/http-kernel/HttpCache/Ssi.php \Symfony\Component\HttpKernel\HttpCache\Ssi::__construct()
Constructor.
Parameters
array $contentTypes An array of content-type that should be parsed for SSI information.: (default: text/html, text/xml, application/xhtml+xml, and application/xml)
File
- vendor/
symfony/ http-kernel/ HttpCache/ Ssi.php, line 37
Class
- Ssi
- Ssi implements the SSI capabilities to Request and Response instances.
Namespace
Symfony\Component\HttpKernel\HttpCacheCode
public function __construct(array $contentTypes = array(
'text/html',
'text/xml',
'application/xhtml+xml',
'application/xml',
)) {
$this->contentTypes = $contentTypes;
}