Illuminate/Foundation/Bootstrap/RegisterProviders.php
<?php namespace Illuminate\Foundation\Bootstrap;
use Illuminate\Contracts\Foundation\Application;
class RegisterProviders {
/**
* Bootstrap the given application.
* 引导给定的应用程序。
*
* @param \Illuminate\Contracts\Foundation\Application $app
* @return void
*/
public function bootstrap(Application $app)
{
// 注册 providers 配置项中的所有服务提供者
$app->registerConfiguredProviders();
}
}