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