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