1
0
mirror of https://github.com/danog/PHP-Parser.git synced 2024-12-12 01:19:47 +01:00
PHP-Parser/lib/PHPParser/Node/Expr/Variable.php

22 lines
530 B
PHP

<?php
/**
* @property string|PHPParser_Node_Expr $name Name
*/
class PHPParser_Node_Expr_Variable extends PHPParser_Node_Expr
{
/**
* Constructs a variable node.
*
* @param string|PHPParser_Node_Expr $name Name
* @param array $attributes Additional attributes
*/
public function __construct($name, array $attributes = array()) {
parent::__construct(
array(
'name' => $name
),
$attributes
);
}
}