mirror of
https://github.com/phabelio/PHP-Parser.git
synced 2024-12-11 16:49:43 +01:00
26 lines
538 B
PHP
26 lines
538 B
PHP
<?php
|
|
|
|
namespace PhpParser\Node\Stmt;
|
|
|
|
use PhpParser\Node;
|
|
|
|
/**
|
|
* @property Node\Expr[] $vars Variables to unset
|
|
*/
|
|
class Unset_ extends Node\Stmt
|
|
{
|
|
/**
|
|
* Constructs an unset 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
|
|
);
|
|
}
|
|
} |