public function getMetadata() { return $this->metadata; }
/** * {@inheritdoc} */ public function dump(Template $template) { $metadata = $template->getMetadata(); $dom = $template->getDocument(); $html5 = $this->getHtml5(); return $html5->saveHTML($metadata['fragment'] ? $dom->childNodes : $dom); }