<?php

declare (strict_types=1);
namespace PoP\Root\Facades;

use PoP\Root\App;
use PoP\Root\Registries\CompilerPassRegistryInterface;
/** @internal */
class SystemCompilerPassRegistryFacade
{
    public static function getInstance() : CompilerPassRegistryInterface
    {
        $systemContainerBuilder = App::getSystemContainer();
        /**
         * @var CompilerPassRegistryInterface
         */
        $service = $systemContainerBuilder->get(CompilerPassRegistryInterface::class);
        return $service;
    }
}
