Файл: vendor/nikic/php-parser/lib/PhpParser/Node/MatchArm.php
Строк: 21
<?php declare(strict_types=1);
namespace PhpParserNode;
use PhpParserNode;
use PhpParserNodeAbstract;
class MatchArm extends NodeAbstract
{
/** @var null|NodeExpr[] */
public $conds;
/** @var NodeExpr */
public $body;
/**
* @param null|NodeExpr[] $conds
*/
public function __construct($conds, NodeExpr $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';
}
}