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

		$provider->register();

		if ($this->console && $provider instanceof ConsoleProviderInterface) {
			$provider->registerConsole($this->console);
		}
	}