whoami7 - Manager
:
/
home
/
kckglobal
/
www
/
portal
/
vendor
/
veewee
/
xml
/
src
/
Xml
/
Dom
/
Xpath
/
Configurator
/
Upload File:
files >> /home/kckglobal/www/portal/vendor/veewee/xml/src/Xml/Dom/Xpath/Configurator/namespaces.php
<?php declare(strict_types=1); namespace VeeWee\Xml\Dom\Xpath\Configurator; use Closure; use DOMXPath; /** * @param array<string, string> $namespaces * * @return Closure(DOMXPath): DOMXPath */ function namespaces(array $namespaces): Closure { return static function (DOMXPath $xpath) use ($namespaces) : DOMXPath { foreach ($namespaces as $prefix => $namespaceURI) { $xpath->registerNamespace($prefix, $namespaceURI); } return $xpath; }; }
Copyright ©2021 || Defacer Indonesia