ApplicationBootstrapper
final class ApplicationBootstrapper (View source)
| internal |
Coordinates the shared root-container bootstrap for application entrypoints.
Configuration is deliberately loaded separately from the complete bootstrap: the HTTP kernel needs its configuration before creating the request scope and evaluating the health fast-path.
Methods
Shares the root bootstrap services and the HTTP boundary without starting a request.
Loads configuration definitions for one entrypoint at most once.
Performs the root-container bootstrap after entrypoint configuration has loaded.
Details
__construct
__construct(ApplicationContext $context, ContainerInterface $container, Framework $framework, HttpInstrumentation $diagnostics)
Shares the root bootstrap services and the HTTP boundary without starting a request.
loadConfiguration
void
loadConfiguration(BootstrapEntrypoint $entrypoint)
Loads configuration definitions for one entrypoint at most once.
bootstrap
void
bootstrap(BootstrapEntrypoint $entrypoint)
Performs the root-container bootstrap after entrypoint configuration has loaded.