Файл: vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/Unset_.php
Строк: 22
<?php declare(strict_types=1);
namespace PhpParserNodeStmt;
use PhpParserNode;
class Unset_ extends NodeStmt
{
/** @var NodeExpr[] Variables to unset */
public $vars;
/**
* Constructs an unset node.
*
* @param NodeExpr[] $vars Variables to unset
* @param array $attributes Additional attributes
*/
public function __construct(array $vars, array $attributes = []) {
$this->attributes = $attributes;
$this->vars = $vars;
}
public function getSubNodeNames() : array {
return ['vars'];
}
public function getType() : string {
return 'Stmt_Unset';
}
}