ElementNode
class ElementNode extends AreaNode
HTML element node.
Properties
| $attributes | |||
| $selfClosing | |||
| $content | |||
| Tag[] | $nAttributes | ||
| $dynamicTag | |||
| $breakable |
Methods
__construct(string $name, Position|null $position = null, ElementNode|null $parent = null, string $contentType = ContentType::Html)
No description
Node|bool|null
getAttribute(string $name)
No description
bool
is(string $name)
No description
bool
isRawText()
No description
string
getIterator()
No description
Details
at line 38
__construct(string $name, Position|null $position = null, ElementNode|null $parent = null, string $contentType = ContentType::Html)
No description
at line 48
Node|bool|null
getAttribute(string $name)
No description
at line 67
bool
is(string $name)
No description
at line 81
bool
isRawText()
No description
at line 88
string
print(PrintContext $context)
No description
at line 114
Generator
getIterator()
No description