Since: 8.4

class NamedNodeMap implements IteratorAggregate, Countable (View source)

Properties

int $length

Methods

Attr|null
item(int $index)

No description

Attr|null
getNamedItem(string $qualifiedName)

No description

Attr|null
getNamedItemNS(string|null $namespace, string $localName)

No description

int
count()

Count elements of an object

getIterator()

No description

Details

Attr|null item(int $index)

No description

Parameters

int $index

Return Value

Attr|null

Attr|null getNamedItem(string $qualifiedName)

No description

Parameters

string $qualifiedName

Return Value

Attr|null

Attr|null getNamedItemNS(string|null $namespace, string $localName)

No description

Parameters

string|null $namespace
string $localName

Return Value

Attr|null

int count()

Count elements of an object

Return Value

int

The custom count as an integer.

The return value is cast to an integer.

Traversable getIterator()

No description

Return Value

Traversable

An instance of an object implementing Iterator or Traversable