extends |
AreaNode |
---|
HTML element node.
Methods | ||
---|---|---|
public
|
__construct(
string $name,
?Position $position = null,
?self $parent = null,
?stdClass $data = null,
string $contentType = ContentType::Html,
)
|
# |
public
|
getAttribute(string $name): string|Node|bool|null
|
# |
public
|
is(string $name): bool
|
# |
public
|
isRawText(): bool
|
# |
public
|
print(PrintContext $context): string
|
# |
public
&
|
getIterator(): Generator
|
# |
Properties | |||
---|---|---|---|
public
|
?ExpressionNode
|
$variableName = null
|
# |
public
|
?FragmentNode
|
$attributes = null
|
# |
public
|
bool
|
$selfClosing = false
|
# |
public
|
?AreaNode
|
$content = null
|
# |
public
|
Tag[]
|
$nAttributes = []
|
# |
public
|
AreaNode
|
$tagNode
|
# |
public
|
bool
|
$captureTagName = false
|
# |
public
|
bool
|
$breakable = false
|
# |
public
|
string
|
$name
|
# |
public
|
?Position
|
$position
|
# |
public
|
?self
|
$parent
|
# |
public
|
?stdClass
|
$data
|
# |
public
|
string
|
$contentType
|
# |