Skip to content
docsv0.1.0

CapabilityResolvedEvent

Dispatched once the plugin capability/dependency graph for this boot is finalized ('capability.resolved') — after {@see \Milpa\Services\CapabilityGraphChecker} has passed and `milpa/plugin`'s `ContractResolver::getLoadOrder()` has produced the dependency-ordered plugin list for this boot. Readonly, POST, no slot — pure notification. Fires BEFORE any plugin's boot() runs, so listeners observe the finalized, dependency-ordered plugin list ahead of the boot loop.

CapabilityResolvedEvent::__construct()

public function __construct(array $loadOrder):

Parameters

Parameters of __construct()
NameTypeDescription
$loadOrderarray<int, array<string, mixed>>Finalized plugin metadata (dependency-ordered), one entry per plugin.