protected $cache;
/**
+ * Singleton object.
+ *
* @param bool $fresh
+ *
* @return CRM_Cxn_CiviCxnHttp
+ * @throws \CRM_Core_Exception
*/
public static function singleton($fresh = FALSE) {
if (self::$singleton === NULL || $fresh) {
}
/**
- * @param CRM_Utils_Cache_Interface|NULL $cache
- * The cache data store.
+ * The cache data store.
+ *
+ * @param CRM_Utils_Cache_Interface|null $cache
*/
public function __construct($cache) {
$this->cache = $cache;
}
/**
+ * Send.
+ *
* @param string $verb
* @param string $url
* @param string $blob
}
/**
+ * Get cache.
+ *
* @return \CRM_Utils_Cache_Interface|null
*/
public function getCache() {