1
0
mirror of https://github.com/danog/PHP-Parser.git synced 2024-12-14 10:27:37 +01:00
PHP-Parser/lib/PHPParser/Node/Scalar/Encapsed.php

23 lines
575 B
PHP
Raw Normal View History

2011-06-05 18:40:04 +02:00
<?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 int $line Line
* @param null|string $docComment Nearest doc comment
*/
public function __construct(array $parts = array(), $line = -1, $docComment = null) {
parent::__construct(
array(
'parts' => $parts
),
$line, $docComment
);
}
2011-06-05 18:40:04 +02:00
}