Exemplo n.º 1
0
 /**
  * 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;
 }
Exemplo n.º 2
0
 /**
  * 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;
 }