/** * [add description] * * @param Provider $provider [description] * * @return [type] [description] */ public function add(Provider $provider) { $provider->setApplication($this->app); $providerName = get_class($provider); if (!isset($this->providers[$providerName])) { $this->providers[$providerName] = $provider; } }