You are here

public function Twig_Markup::__construct in Translation template extractor 6.3

Same name and namespace in other branches
  1. 7.3 vendor/Twig/Markup.php \Twig_Markup::__construct()

File

vendor/Twig/Markup.php, line 22

Class

Twig_Markup
Marks a content as safe.

Code

public function __construct($content, $charset) {
  $this->content = (string) $content;
  $this->charset = $charset;
}