X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FExtension%2FSystem.php;h=3d531807fc6c2bb35f7bde01b76352cdd412a4c4;hb=4278b952d40683324613b2b09a6036a56d9d5017;hp=a9c099d24b77116b5423eda6fcf1038da96a04f7;hpb=00ca8648aca9637f2678082ce09f98772533a8cc;p=civicrm-core.git diff --git a/CRM/Extension/System.php b/CRM/Extension/System.php index a9c099d24b..3d531807fc 100644 --- a/CRM/Extension/System.php +++ b/CRM/Extension/System.php @@ -53,6 +53,8 @@ class CRM_Extension_System { private $_repoUrl = NULL; /** + * @param bool $fresh + * * @return CRM_Extension_System */ public static function singleton($fresh = FALSE) { @@ -66,10 +68,16 @@ class CRM_Extension_System { return self::$singleton; } + /** + * @param CRM_Extension_System $singleton + */ public static function setSingleton(CRM_Extension_System $singleton) { self::$singleton = $singleton; } + /** + * @param array $parameters + */ public function __construct($parameters = array()) { $config = CRM_Core_Config::singleton(); if (!array_key_exists('extensionsDir', $parameters)) {