1
0
mirror of https://github.com/danog/PHP-Parser.git synced 2024-12-04 02:07:59 +01:00
PHP-Parser/lib/PhpParser/Node/Stmt/Global_.php

26 lines
545 B
PHP
Raw Normal View History

2011-06-05 18:40:04 +02:00
<?php
namespace PhpParser\Node\Stmt;
use PhpParser\Node;
2011-06-05 18:40:04 +02:00
/**
* @property Node\Expr[] $vars Variables
2011-06-05 18:40:04 +02:00
*/
class Global_ extends Node\Stmt
2011-06-05 18:40:04 +02:00
{
/**
* 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
);
}
2011-06-05 18:40:04 +02:00
}