public function registerProviders(array $providers = []): self
    {
        foreach ($providers as $provider) {
            $this->registerProvider($provider);
        }

        return $this;
    }
public function registerProviders(array $providers = []): self
    {
        foreach ($providers as $provider) {
            $this->registerProvider($provider);
        }

        return $this;
    }
public function registerProviders ( array $ providers = [ ] ) : self { foreach ( $ providers as $ provider ) { $ this -> registerProvider ( $ provider ) ; } return $ this ; }
Registers a set of providers.

@param Provider[] $providers

@return ProviderAggregator
Registers a set of providers .