php-parser/lib/PhpParser/Node/Scalar/Encapsed.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
);
}
}