You are here

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

Return value

crumbs_PluginSystem_PluginBag

See also

crumbs_DIC_ServiceContainer::$pluginBag

File

lib/DIC/ServiceContainer.php, line 57

Class

crumbs_DIC_ServiceContainer
Little brother of a dependency injection container (DIC)

Code

protected function pluginBag() {
  $pluginInfo = $this->pluginInfo;
  return new crumbs_PluginSystem_PluginBag($pluginInfo->plugins, $pluginInfo->routelessPluginMethods, $pluginInfo->routePluginMethods);
}