projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
CRM-21769: Fixing code style erros
[civicrm-core.git]
/
Civi.php
diff --git
a/Civi.php
b/Civi.php
index 21ee58073123af9c7a33bc7a0a012ed50c664331..ae5dc6f4b1dda2f1a883542edbb0ec98c17b14dc 100644
(file)
--- a/
Civi.php
+++ b/
Civi.php
@@
-54,6
+54,15
@@
class Civi {
return Civi\Core\Container::singleton();
}
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
*/
/**
* @return \Civi\Core\Lock\LockManager
*/
@@
-115,11
+124,4
@@
class Civi {
return \Civi\Core\Container::getBootService('settings_manager')->getBagByDomain($domainID);
}
return \Civi\Core\Container::getBootService('settings_manager')->getBagByDomain($domainID);
}
- /**
- * @return \CRM_Utils_System_Base
- */
- public static function userSystem() {
- return CRM_Core_Config::singleton()->userSystem;
- }
-
}
}