public function addProvider(ProviderInterface $provider) { foreach ($provider->getDrivers() as $driver) { $this->addDriver($driver); } }