Skip to content
docsv0.34.0

BootedPlugins

Who the panel asks for sections: the plugin instances the kernel booted, plus the panel itself. Read per request, never cached — a plugin that boots after the panel still shows up, and what the sidebar lists is what booted. Without a kernel in the container (the app's `public/index.php` registers it) the panel still serves its own sections. One reader for both surfaces (greenhouse decisions/0211): the page and the live wire discover the same sections from the same place, so the registry a page compiled with is the registry the wire re-renders from — an envelope signed while painting one is resolvable when it comes back.

BootedPlugins::of()

public static function of(Milpa\Interfaces\Di\DIContainerInterface $container, object $self): array

The booted plugin instances — from the kernel when the app registered it, else the panel alone.

Parameters

Parameters of of()
NameTypeDescription
$containerMilpa\Interfaces\Di\DIContainerInterface
$selfobjectthe admin plugin instance — the one provider the panel can count on without a kernel