private function registerProviders() { foreach ($this->providers as $provider) { $this->register(new $provider()); } }