core-bundle/src/DependencyInjection/Compiler/AddPackagesPass.php
public function process(ContainerBuilder $container): void
    {
        $packages = [];

        foreach (Versions::VERSIONS as $name => $version) {
            $packages[$name] = PackageUtil::parseVersion($version);
        }

        $container->setParameter('kernel.packages', $packages);
    }
public function process(ContainerBuilder $container): void
    {
        $packages = [];

        foreach (Versions::VERSIONS as $name => $version) {
            $packages[$name] = PackageUtil::parseVersion($version);
        }

        $container->setParameter('kernel.packages', $packages);
    }
{@inheritdoc}