return Civi\Core\Container::singleton();
}
+ /**
+ * Get the event dispatcher.
+ *
+ * @return \Symfony\Component\EventDispatcher\EventDispatcherInterface
+ */
+ public static function dispatcher() {
+ return Civi\Core\Container::singleton()->get('dispatcher');
+ }
+
/**
* @return \Civi\Core\Lock\LockManager
*/
*/
public static function reset() {
self::$statics = array();
- Civi\Core\Container::getBootServices();
- Civi\Core\Container::singleton(TRUE);
+ Civi\Core\Container::singleton();
}
/**