DefaultBooter
class DefaultBooter implements BootInterface, ApplicationAwareInterface (View source)
Traits
Trait ApplicationAwareTrait A trait used with ApplicationAwareInterface
Properties
protected Application | $app | from ApplicationAwareTrait |
Methods
Boot up Return a response if we're ready to output.
No description
Some components create events that other components need to listen to. Register them here, but only if the CMS is installed.
Setup the configured error reporting.
Check whether an environment has well formed database credentials defined
No description
No description
No description
No description
No description
If we haven't installed and we're not looking at the install directory, redirect.
Details
setApplication(Application $app)
Setter method for the application
mixed
boot()
Boot up Return a response if we're ready to output.
private null|Response
bootHttpSapi($config, $app)
No description
private Repository
initializeConfig(Application $app)
Enable configuration.
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.
private
setupErrorReporting(Repository $config)
Setup the configured error reporting.
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.
private
initializeEnvironmentDetection(Application $app)
No description
private mixed
validateDatabaseDetails($environment)
Check whether an environment has well formed database credentials defined
private void
initializeClassAliases(Repository $config)
No description
private
initializeServiceProviders(Application $app, Repository $config)
No description
private
initializeLegacyDefinitions(Repository $config, Application $app)
No description
private
initializeAssets(Repository $config)
No description
private
initializeRoutes(Repository $config)
No description
private
initializeFileTypes(Repository $config)
No description
private Request
initializeRequest(Repository $config)
No description
private null|Response
checkInstall(Application $app, Request $request)
If we haven't installed and we're not looking at the install directory, redirect.
private null|Response
checkCache(Application $app, Request $request)
No description
private
initializePackages(Application $app)
No description