/** * {@inheritdoc} */ protected function getNodes(DOMElement $template) { return TemplateHelper::getJSNodes($template->ownerDocument); }
/** * Return all the nodes in this template whose content type is JavaScript * * @return array */ public function getJSNodes() { return TemplateHelper::getJSNodes($this->asDOM()); }