Documentation

Xml
in package

FinalYes

Table of Contents

Methods

tag()  : ElementInterface
Get a tag but throw an exception if it doesn't exist.

Methods

tag()

Get a tag but throw an exception if it doesn't exist.

public static tag(DomInterface $element, string $tagName) : ElementInterface
Parameters
$element : DomInterface
$tagName : string
Return values
ElementInterface
On this page

Search results