The Dom\NamespaceInfo class
(PHP 8 >= 8.4.0)
Introduction
This represents immutable information about namespaces of an element. This decouples namespaces from attributes, which was incorrectly intertwined for the old DOM classes.
Class synopsis
final
readonly
class Dom\NamespaceInfo
{
/* Properties */
}Properties
prefixThe namespace prefix of the attribute.
namespaceURIThe namespace URI of the attribute.
elementThe element that this namespace information is about.
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
