You are here

protected function crumbs_DIC_ServiceContainer::pluginEngine in Crumbs, the Breadcrumbs suite 7.2

A service that knows all plugins and their configuration/weights, and can run plugin operations on those plugins.

Return value

crumbs_PluginSystem_PluginEngine

See also

crumbs_DIC_ServiceContainer::$pluginEngine

File

lib/DIC/ServiceContainer.php, line 73

Class

crumbs_DIC_ServiceContainer
Little brother of a dependency injection container (DIC)

Code

protected function pluginEngine() {
  return new crumbs_PluginSystem_PluginEngine($this->pluginBag, $this->router, $this->pluginInfo->weightMap);
}