whoami7 - Manager
:
/
home
/
kckglobal
/
www
/
portal
/
vendor
/
veewee
/
xml
/
src
/
Xml
/
Dom
/
Builder
/
Upload File:
files >> /home/kckglobal/www/portal/vendor/veewee/xml/src/Xml/Dom/Builder/xmlns_attributes.php
<?php declare(strict_types=1); namespace VeeWee\Xml\Dom\Builder; use Closure; use DOMElement; use function Psl\Iter\reduce_with_keys; /** * @param array<string, string> $attributes - A map of namespace prefix with namespace URI * @return Closure(DOMElement): DOMElement */ function xmlns_attributes(array $attributes): Closure { return static function (DOMElement $node) use ($attributes): DOMElement { return reduce_with_keys( $attributes, static fn (DOMElement $node, string $name, string $value) => xmlns_attribute($name, $value)($node), $node ); }; }
Copyright ©2021 || Defacer Indonesia