| 1: | <?php declare(strict_types = 1); |
| 2: | |
| 3: | namespace PHPStan\Analyser; |
| 4: | |
| 5: | /** @api */ |
| 6: | class ScopeFactory |
| 7: | { |
| 8: | |
| 9: | public function __construct(private InternalScopeFactory $internalScopeFactory) |
| 10: | { |
| 11: | } |
| 12: | |
| 13: | public function create(ScopeContext $context): MutatingScope |
| 14: | { |
| 15: | return $this->internalScopeFactory->create($context); |
| 16: | } |
| 17: | |
| 18: | } |
| 19: |