public function __construct(Texy $texy, HtmlElement $element, $indented) { $this->texy = $texy; $this->element = $element; $this->indented = (bool) $indented; $this->patterns = $texy->getBlockPatterns(); }