Gets the number of registered plugins.
The plugin count
Checks if a plugin is registered.
The plugin name
true if the plugin is registered
Gets all registered plugin names.
Array of plugin names
Gets all registered plugins.
Array of plugins (order not guaranteed)
Gets plugins in topological order (dependency order).
Plugins are returned in the order they should be initialized.
Array of plugins in dependency order
Gets plugins in reverse topological order.
Useful for shutdown (shutdown in reverse initialization order).
Array of plugins in reverse dependency order
Clears all plugins from the registry.
Registry for managing plugins and their dependencies.
Maintains the dependency graph and provides plugins in initialization order.
Example