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.

initializeEvents(Application $app)

Some components create events that other components need to listen to. Register them here, but only if the CMS is installed.

setupErrorReporting(Repository $config)

Setup the configured error reporting.

initializeLocalization(Application $app)

Enable localization.

mixed
validateDatabaseDetails($environment)

Check whether an environment has well formed database credentials defined

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)

No description

Parameters

$config
$app

Return Value

null|Response

private Repository initializeConfig(Application $app)

Enable configuration.

Parameters

Application $app

Return Value

Repository

private initializeEvents(Application $app)

Some components create events that other components need to listen to. Register them here, but only if the CMS is installed.

Parameters

Application $app

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)

No description

Parameters

Application $app

private mixed validateDatabaseDetails($environment)

Check whether an environment has well formed database credentials defined

Parameters

$environment

Return Value

mixed

private ClassAliasList initializeClassAliases(Repository $config)

No description

Parameters

Repository $config

Return Value

ClassAliasList

private initializeServiceProviders(Application $app, Repository $config)

No description

Parameters

Application $app
Repository $config

private initializeLegacyDefinitions(Repository $config, Application $app)

No description

Parameters

Repository $config
Application $app

private initializeAssets(Repository $config)

No description

Parameters

Repository $config

private initializeRoutes(Repository $config)

No description

Parameters

Repository $config

private initializeFileTypes(Repository $config)

No description

Parameters

Repository $config

private Request initializeRequest(Repository $config)

No description

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)

No description

Parameters

Application $app
Request $request

Return Value

null|Response

private initializePackages(Application $app)

No description

Parameters

Application $app