public function __construct($documentType = null, array $attributes = null, Node $parent = null, array $children = null) { parent::__construct('html', $attributes, $parent, $children); $this->_documentType = $documentType ? $documentType : DocumentType::HTML5; }