BootProviders.php
TLDR
This file defines the BootProviders
class in the Illuminate\Foundation\Bootstrap
namespace. It contains a bootstrap
method that takes an instance of the Application
interface as a parameter and calls the boot
method on the application.
Classes
BootProviders
This class is responsible for bootstrapping the application. It has a single method, bootstrap
, which takes an instance of the Application
interface as a parameter and calls the boot
method on the application.
<?php
namespace Illuminate\Foundation\Bootstrap;
use Illuminate\Contracts\Foundation\Application;
class BootProviders
{
/**
* Bootstrap the given application.
*
* @param \Illuminate\Contracts\Foundation\Application $app
* @return void
*/
public function bootstrap(Application $app)
{
$app->boot();
}
}