class DefaultBooter implements BootInterface, ApplicationAwareInterface (View source)

Traits

Trait ApplicationAwareTrait A trait used with ApplicationAwareInterface

Properties

protected Application $app from ApplicationAwareTrait

Methods

setApplication(Application $app)

Setter method for the application

mixed
boot()

Boot up Return a response if we're ready to output.

null|Response
bootHttpSapi($config, $app)

No description

Repository
initializeConfig(Application $app)

Enable configuration.

setupErrorReporting(Repository $config)

Setup the configured error reporting.

initializeLocalization(Application $app)

Enable localization.

initializeClassAliases(Repository $config)

No description

initializeServiceProviders(Application $app, Repository $config)

No description

initializeLegacyDefinitions(Repository $config, Application $app)

No description

initializeAssets(Repository $config)

No description

initializeRoutes(Repository $config)

No description

initializeFileTypes(Repository $config)

No description

initializeRequest(Repository $config)

No description

null|Response
checkInstall(Application $app, Request $request)

If we haven't installed and we're not looking at the install directory, redirect.

null|Response
checkCache(Application $app, Request $request)

No description

initializePackages(Application $app)

No description

Details

setApplication(Application $app)

Setter method for the application

Parameters

Application $app

mixed boot()

Boot up Return a response if we're ready to output.

Return Value

mixed

private null|Response bootHttpSapi($config, $app)

Parameters

$config
$app

Return Value

null|Response

private Repository initializeConfig(Application $app)

Enable configuration.

Parameters

Application $app

Return Value

Repository

private setupErrorReporting(Repository $config)

Setup the configured error reporting.

Parameters

Repository $config

private initializeLocalization(Application $app)

Enable localization.

This needs to happen very early in the boot process because the application configuration (config/app.php) is already calling the t() functions which are initializing the Localization singleton. When the singleton is being initialized, these services need to be already available.

Parameters

Application $app

private initializeEnvironmentDetection(Application $app)

Parameters

Application $app

private ClassAliasList initializeClassAliases(Repository $config)

Parameters

Repository $config

Return Value

ClassAliasList

private initializeServiceProviders(Application $app, Repository $config)

Parameters

Application $app
Repository $config

private initializeLegacyDefinitions(Repository $config, Application $app)

Parameters

Repository $config
Application $app

private initializeAssets(Repository $config)

Parameters

Repository $config

private initializeRoutes(Repository $config)

Parameters

Repository $config

private initializeFileTypes(Repository $config)

Parameters

Repository $config

private Request initializeRequest(Repository $config)

Parameters

Repository $config

Return Value

Request

private null|Response checkInstall(Application $app, Request $request)

If we haven't installed and we're not looking at the install directory, redirect.

Parameters

Application $app
Request $request

Return Value

null|Response

private null|Response checkCache(Application $app, Request $request)

Parameters

Application $app
Request $request

Return Value

null|Response

private initializePackages(Application $app)

Parameters

Application $app