public function setDisallowClosingTag($disallowClosingTag) { $this->disallowClosingTag = (bool) $disallowClosingTag; return $this; }