Skip to content
Corex

Application

Corex\Foundation\Application · class · Core layer

The composition root: builds the container and runs the provider lifecycle once. As the composition root, this is the one place permitted to construct framework primitives directly — the container cannot be injected into the object that creates it. Everything beyond the root is resolved through the container.

__construct(bool $debug, array $providers, ?RuntimeContexts $contexts, ?PluginActivationInspector $pluginActivationInspector)

Section titled “__construct(bool $debug, array $providers, ?RuntimeContexts $contexts, ?PluginActivationInspector $pluginActivationInspector)”