public function __construct(XMLDocumentInterface $dom = null)
46
{
47
150
if (!extension_loaded('libxml')) {
48
throw new \RuntimeException('The libxml extension is disabled. It is necessary to work with XML. You can try to recompile PHP with --with-libxml-dir=<location>.');