1: | <?php declare(strict_types = 1); |
2: | |
3: | namespace PHPStan\Analyser; |
4: | |
5: | use PhpParser\Node\Stmt; |
6: | |
7: | /** |
8: | * @api |
9: | */ |
10: | final class StatementExitPoint |
11: | { |
12: | |
13: | public function __construct(private Stmt $statement, private MutatingScope $scope) |
14: | { |
15: | } |
16: | |
17: | public function getStatement(): Stmt |
18: | { |
19: | return $this->statement; |
20: | } |
21: | |
22: | public function getScope(): MutatingScope |
23: | { |
24: | return $this->scope; |
25: | } |
26: | |
27: | } |
28: |