class Echo_
Hierarchy
- class \PhpParser\Node\Stmt\Echo_ extends \Node\Stmt
Expanded class hierarchy of Echo_
File
-
vendor/
nikic/ php-parser/ lib/ PhpParser/ Node/ Stmt/ Echo_.php, line 7
Namespace
PhpParser\Node\StmtView source
class Echo_ extends Node\Stmt {
/** @var Node\Expr[] Expressions */
public array $exprs;
/**
* Constructs an echo node.
*
* @param Node\Expr[] $exprs Expressions
* @param array<string, mixed> $attributes Additional attributes
*/
public function __construct(array $exprs, array $attributes = []) {
$this->attributes = $attributes;
$this->exprs = $exprs;
}
public function getSubNodeNames() : array {
return [
'exprs',
];
}
public function getType() : string {
return 'Stmt_Echo';
}
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
Echo_::$exprs | public | property | @var Node\Expr[] Expressions |
Echo_::getSubNodeNames | public | function | |
Echo_::getType | public | function | |
Echo_::__construct | public | function | Constructs an echo node. |