Skip to content
docsv0.13.1

DeclaredPlugins

The plugin classes a host declares in code, carried in the container so that whatever needs them can ask for them by type. It exists because the list has two readers that must never disagree: the kernel, which boots what {@see ActivePlugins} resolved from it, and the management operations, which have to show a plugin that has no store record yet — otherwise a running app reports that it has no plugins.

DeclaredPlugins::__construct()

public function __construct(array $classes = []):

Parameters

Parameters of __construct()
NameTypeDescription
$classeslist<class-string>