Skip to content

Commit de677e9

Browse files
committed
Add toDocEl
1 parent 5e82114 commit de677e9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/class-xml-file.php

+5
Original file line numberDiff line numberDiff line change
@@ -427,6 +427,11 @@ static function toDoc($k)
427427
return null;
428428
}
429429

430+
static function toDocEl($k)
431+
{
432+
return self::toDoc($k)->documentElement;
433+
}
434+
430435
static function toXml($k)
431436
{
432437
if (is_string($k)) {

0 commit comments

Comments
 (0)