public function HIncludeFragmentRenderer::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-kernel/Fragment/HIncludeFragmentRenderer.php \Symfony\Component\HttpKernel\Fragment\HIncludeFragmentRenderer::__construct()
Constructor.
Parameters
EngineInterface|\Twig_Environment $templating An EngineInterface or a \Twig_Environment instance:
UriSigner $signer A UriSigner instance:
string $globalDefaultTemplate The global default content (it can be a template name or the content):
string $charset:
File
- vendor/
symfony/ http-kernel/ Fragment/ HIncludeFragmentRenderer.php, line 40
Class
- HIncludeFragmentRenderer
- Implements the Hinclude rendering strategy.
Namespace
Symfony\Component\HttpKernel\FragmentCode
public function __construct($templating = null, UriSigner $signer = null, $globalDefaultTemplate = null, $charset = 'utf-8') {
$this
->setTemplating($templating);
$this->globalDefaultTemplate = $globalDefaultTemplate;
$this->signer = $signer;
$this->charset = $charset;
}