public function __construct(array $providers = []) { foreach ($providers as $name => $configuration) { $this->addProvider($configuration, $name); } }