D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
usr
/
local
/
psa
/
admin
/
plib
/
modules
/
grafana
/
vendor
/
nikic
/
php-parser
/
lib
/
PhpParser
/
Node
/
Filename :
MatchArm.php
back
Copy
<?php declare (strict_types=1); namespace PleskGrafana\PhpParser\Node; use PleskGrafana\PhpParser\Node; use PleskGrafana\PhpParser\NodeAbstract; class MatchArm extends NodeAbstract { /** @var null|list<Node\Expr> */ public ?array $conds; /** @var Node\Expr */ public Expr $body; /** * @param null|list<Node\Expr> $conds */ public function __construct(?array $conds, Node\Expr $body, array $attributes = []) { $this->conds = $conds; $this->body = $body; $this->attributes = $attributes; } public function getSubNodeNames() : array { return ['conds', 'body']; } public function getType() : string { return 'MatchArm'; } }