public function isSelfClosingTag($tagName) { return in_array($tagName, self::$SELF_CLOSING_TAGS, true) || (bool) $this->tsValue('selfClosingTag'); }