protected function loadProviders($providers)
	{
		foreach ((array) $providers as $provider) {
			$provider = $this->container->get($provider);

			if (!$provider instanceof ServiceProviderInterface) {
				$providerName = get_class($provider);
				throw new \Exception(
					"$providerName does not implement required \\TitaPHP\\Foundation\\ServiceProviderInterface Interface"
				);
			}

			$provider->register($this);
		}
	}
protected function loadProviders($providers)
	{
		foreach ((array) $providers as $provider) {
			$provider = $this->container->get($provider);

			if (!$provider instanceof ServiceProviderInterface) {
				$providerName = get_class($provider);
				throw new \Exception(
					"$providerName does not implement required \\TitaPHP\\Foundation\\ServiceProviderInterface Interface"
				);
			}

			$provider->register($this);
		}
	}
protected function loadProviders ( $ providers ) { foreach ( ( array ) $ providers as $ provider ) { $ provider = $ this -> container -> get ( $ provider ) ; if ( ! $ provider instanceof ServiceProviderInterface ) { $ providerName = get_class ( $ provider ) ; throw new \ Exception ( "$providerName does not implement required \\TitaPHP\\Foundation\\ServiceProviderInterface Interface" ) ; } $ provider -> register ( $ this ) ; } }
Register Providers into the Application.

@param	array	$providers
@return 	void
@throws 	\Exception
Register Providers into the Application .