1: <?php declare(strict_types = 1);
2:
3: namespace PHPStan\Node;
4:
5: use PhpParser\Node\Expr;
6: use PHPStan\Analyser\Scope;
7:
8: /** @api */
9: class MatchExpressionArmCondition
10: {
11:
12: public function __construct(private Expr $condition, private Scope $scope, private int $line)
13: {
14: }
15:
16: public function getCondition(): Expr
17: {
18: return $this->condition;
19: }
20:
21: public function getScope(): Scope
22: {
23: return $this->scope;
24: }
25:
26: public function getLine(): int
27: {
28: return $this->line;
29: }
30:
31: }
32: