From 7c34772bbb17f330539dc6e74892856a58e6942a Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Fri, 10 Aug 2018 12:43:02 -0700 Subject: [PATCH] (NFC) CRM_Utils_Cache::create - Update docblock for 'name' param --- CRM/Utils/Cache.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CRM/Utils/Cache.php b/CRM/Utils/Cache.php index af2bb83575..0ce1128c83 100644 --- a/CRM/Utils/Cache.php +++ b/CRM/Utils/Cache.php @@ -160,6 +160,9 @@ class CRM_Utils_Cache { * @param array $params * Array with keys: * - name: string, unique symbolic name. + * For a naming convention, use `snake_case` or `CamelCase` to maximize + * portability/cleanliness. Any other punctuation or whitespace + * should function correctly, but it can be harder to inspect/debug. * - type: array|string, list of acceptable cache types, in order of preference. * - prefetch: bool, whether to prefetch all data in cache (if possible). * @return CRM_Utils_Cache_Interface -- 2.25.1