php-parser/lib/PhpParser/Node/Stmt/Global_.php
2014-04-02 09:44:45 +02:00

26 lines
545 B
PHP

<?php
namespace PhpParser\Node\Stmt;
use PhpParser\Node;
/**
* @property Node\Expr[] $vars Variables
*/
class Global_ extends Node\Stmt
{
/**
* Constructs a global variables list node.
*
* @param Node\Expr[] $vars Variables to unset
* @param array $attributes Additional attributes
*/
public function __construct(array $vars, array $attributes = array()) {
parent::__construct(
array(
'vars' => $vars,
),
$attributes
);
}
}