Файл: vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/Throw_.php
Строк: 19
<?php declare(strict_types=1);
namespace PhpParserNodeStmt;
use PhpParserNode;
class Throw_ extends NodeStmt
{
/** @var NodeExpr Expression */
public $expr;
/**
* Constructs a legacy throw statement node.
*
* @param NodeExpr $expr Expression
* @param array $attributes Additional attributes
*/
public function __construct(NodeExpr $expr, array $attributes = []) {
$this->attributes = $attributes;
$this->expr = $expr;
}
public function getSubNodeNames() : array {
return ['expr'];
}
public function getType() : string {
return 'Stmt_Throw';
}
}