class InlineHTML
Hierarchy
- class \PhpParser\NodeAbstract implements \PhpParser\Node, \PhpParser\JsonSerializable
- class \PhpParser\Node\Stmt extends \PhpParser\NodeAbstract
- class \PhpParser\Node\Stmt\InlineHTML extends \PhpParser\Node\Stmt
- class \PhpParser\Node\Stmt extends \PhpParser\NodeAbstract
Expanded class hierarchy of InlineHTML
File
-
vendor/
nikic/ php-parser/ lib/ PhpParser/ Node/ Stmt/ InlineHTML.php, line 7
Namespace
PhpParser\Node\StmtView source
class InlineHTML extends Stmt {
/** @var string String */
public string $value;
/**
* Constructs an inline HTML node.
*
* @param string $value String
* @param array<string, mixed> $attributes Additional attributes
*/
public function __construct(string $value, array $attributes = []) {
$this->attributes = $attributes;
$this->value = $value;
}
public function getSubNodeNames() : array {
return [
'value',
];
}
public function getType() : string {
return 'Stmt_InlineHTML';
}
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
InlineHTML::$value | public | property | @var string String |
InlineHTML::getSubNodeNames | public | function | |
InlineHTML::getType | public | function | |
InlineHTML::__construct | public | function | Constructs an inline HTML node. |