src/ServiceProvider/ServiceProviderLoader.php
public function loadFromRegistry(Registry $registry)
    {
        foreach ($registry as $key => $serviceProvider) {
            $this->loadServiceProviderFactories($serviceProvider, $key);
        }
        foreach ($registry as $key => $serviceProvider) {
            $this->loadServiceProviderExtensions($serviceProvider, $key);
        }
    }
public function loadFromRegistry(Registry $registry)
    {
        foreach ($registry as $key => $serviceProvider) {
            $this->loadServiceProviderFactories($serviceProvider, $key);
        }
        foreach ($registry as $key => $serviceProvider) {
            $this->loadServiceProviderExtensions($serviceProvider, $key);
        }
    }
Loads the registry into the container.

@param Registry $registry