/** * Get the pattern broker * * @return Broker */ public static function getBroker() { if (static::$broker === null) { static::$broker = new PatternBroker(); static::$broker->setRegisterPluginsOnLoad(false); } return static::$broker; }
/** * Get the plugin broker * * @return Broker */ public static function getPluginBroker() { if (static::$pluginBroker === null) { static::$pluginBroker = new Storage\PluginBroker(); static::$pluginBroker->setRegisterPluginsOnLoad(false); } return static::$pluginBroker; }