classes/Application.php
protected function registerProvider(ProviderInterface $provider)
	{
		if ($provider instanceof AbstractProvider) {
			$provider->setApplication($this);
		}

		$provider->register();

		if ($this->console && $provider instanceof ConsoleProviderInterface) {
			$provider->registerConsole($this->console);
		}
	}
protected function registerProvider(ProviderInterface $provider)
	{
		if ($provider instanceof AbstractProvider) {
			$provider->setApplication($this);
		}

		$provider->register();

		if ($this->console && $provider instanceof ConsoleProviderInterface) {
			$provider->registerConsole($this->console);
		}
	}
protected function registerProvider ( ProviderInterface $ provider ) { if ( $ provider instanceof AbstractProvider ) { $ provider -> setApplication ( $ this ) ; } $ provider -> register ( ) ; if ( $ this -> console && $ provider instanceof ConsoleProviderInterface ) { $ provider -> registerConsole ( $ this -> console ) ; } }
Register a single service provider.

@param  ProviderInterface $provider

@return void
Register a single service provider .