mirror of
https://github.com/phabelio/PHP-Parser.git
synced 2024-12-11 16:49:43 +01:00
22 lines
512 B
PHP
22 lines
512 B
PHP
<?php
|
|
|
|
/**
|
|
* @property array $parts Encaps list
|
|
*/
|
|
class PHPParser_Node_Scalar_Encapsed extends PHPParser_Node_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
|
|
);
|
|
}
|
|
} |