mirror of
https://github.com/phabelio/PHP-Parser.git
synced 2024-11-27 04:24:43 +01:00
26 lines
537 B
PHP
26 lines
537 B
PHP
<?php
|
|
|
|
namespace PhpParser\Node\Scalar;
|
|
|
|
use PhpParser\Node\Scalar;
|
|
|
|
/**
|
|
* @property array $parts Encaps list
|
|
*/
|
|
class Encapsed extends Scalar
|
|
{
|
|
/**
|
|
* Constructs an encapsed string node.
|
|
*
|
|
* @param array $parts Encaps list
|
|
* @param array $attributes Additional attributes
|
|
*/
|
|
public function __construct(array $parts = array(), array $attributes = array()) {
|
|
parent::__construct(
|
|
array(
|
|
'parts' => $parts
|
|
),
|
|
$attributes
|
|
);
|
|
}
|
|
} |