UnsafeTemplateException
class UnsafeTemplateException extends RuntimeException
Properties
protected DOMNode | $node |
Methods
string
highlightNode(string $prepend = '<span style="background-color:#ff0">', string $append = '</span>')
Highlight the source of the template that has caused this exception, with the node highlighted
Details
at line 25
__construct(string $msg, DOMNode $node)
No description
at line 36
DOMNode
getNode()
Return the node that has caused this exception
at line 48
string
highlightNode(string $prepend = '<span style="background-color:#ff0">', string $append = '</span>')
Highlight the source of the template that has caused this exception, with the node highlighted
at line 59
void
setNode(DOMNode $node)
Change the node associated with this exception