mirror of
https://github.com/phabelio/PHP-Parser.git
synced 2024-12-13 17:47:23 +01:00
26 lines
507 B
PHP
26 lines
507 B
PHP
<?php
|
|
|
|
namespace PhpParser\Node\Stmt;
|
|
|
|
use PhpParser\Node\Stmt;
|
|
|
|
/**
|
|
* @property string $value String
|
|
*/
|
|
class InlineHTML extends Stmt
|
|
{
|
|
/**
|
|
* Constructs an inline HTML node.
|
|
*
|
|
* @param string $value String
|
|
* @param array $attributes Additional attributes
|
|
*/
|
|
public function __construct($value, array $attributes = array()) {
|
|
parent::__construct(
|
|
array(
|
|
'value' => $value,
|
|
),
|
|
$attributes
|
|
);
|
|
}
|
|
} |