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

__construct(ApplicationContext $context, ContainerInterface $container, Framework $framework, HttpInstrumentation $diagnostics)

Shares the root bootstrap services and the HTTP boundary without starting a request.

void
loadConfiguration(BootstrapEntrypoint $entrypoint)

Loads configuration definitions for one entrypoint at most once.

void
void
bootstrap(BootstrapEntrypoint $entrypoint)

Performs the root-container bootstrap after entrypoint configuration has loaded.

void

Details

__construct

__construct(ApplicationContext $context, ContainerInterface $container, Framework $framework, HttpInstrumentation $diagnostics)

Shares the root bootstrap services and the HTTP boundary without starting a request.

Parameters

ApplicationContext $context
ContainerInterface $container
Framework $framework
HttpInstrumentation $diagnostics

loadConfiguration

void loadConfiguration(BootstrapEntrypoint $entrypoint)

Loads configuration definitions for one entrypoint at most once.

Parameters

BootstrapEntrypoint $entrypoint

Return Value

void

bootstrap

void bootstrap(BootstrapEntrypoint $entrypoint)

Performs the root-container bootstrap after entrypoint configuration has loaded.

Parameters

BootstrapEntrypoint $entrypoint

Return Value

void