Skip to content
docsv0.9.1

InlinePluginBootStrategy

The pre-seam kernel plugin phase, verbatim: instantiate `$config['plugins']`, reflect `#[PluginMetadata]` once, gate the architecture through milpa/resolver (blocked graph throws BEFORE anything boots), follow the report's loadOrder, and run the lifecycle boot loop. Byte-compatible with the kernel before the strategy seam existed.

InlinePluginBootStrategy::bootPlugins()

public function bootPlugins(Milpa\Runtime\Boot\BootContext $context): Milpa\Runtime\Boot\PluginBootResult

Resolves the declared plugin list, validates it, and boots it in dependency order. Everything happens here: there is no manager to delegate to, which is what makes this the strategy a host gets for free. Routes, commands and operations are collected from each plugin that declares them, as it boots.

Parameters

Parameters of bootPlugins()
NameTypeDescription
$contextMilpa\Runtime\Boot\BootContext