php-parser/lib/PhpParser/Node/Stmt/Unset_.php

26 lines
538 B
PHP
Raw Normal View History

<?php
namespace PhpParser\Node\Stmt;
use PhpParser\Node;
2011-05-30 17:29:10 +02:00
/**
* @property Node\Expr[] $vars Variables to unset
2011-05-30 17:29:10 +02:00
*/
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
);
}
}