X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FCxn%2FCiviCxnHttp.php;h=a972c7fd35d24b6f7128338d0440d06faf945df2;hb=938ed5659e2439d6cf120579845b6ed36727bbcb;hp=f8acdb9704322a09d78b7654508c1ce11f93732e;hpb=be2fb01f90f5f299dd07402a41fed7c7c7567f00;p=civicrm-core.git diff --git a/CRM/Cxn/CiviCxnHttp.php b/CRM/Cxn/CiviCxnHttp.php index f8acdb9704..a972c7fd35 100644 --- a/CRM/Cxn/CiviCxnHttp.php +++ b/CRM/Cxn/CiviCxnHttp.php @@ -17,8 +17,12 @@ class CRM_Cxn_CiviCxnHttp extends \Civi\Cxn\Rpc\Http\PhpHttp { 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) { @@ -34,14 +38,17 @@ class CRM_Cxn_CiviCxnHttp extends \Civi\Cxn\Rpc\Http\PhpHttp { } /** - * @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 @@ -107,6 +114,8 @@ class CRM_Cxn_CiviCxnHttp extends \Civi\Cxn\Rpc\Http\PhpHttp { } /** + * Get cache. + * * @return \CRM_Utils_Cache_Interface|null */ public function getCache() {