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