Add CRM_Utils_CacheWrapper to all caches
authorcolemanw <coleman@civicrm.org>
Sat, 2 Dec 2023 19:08:46 +0000 (19:08 +0000)
committercolemanw <coleman@civicrm.org>
Sun, 3 Dec 2023 08:20:09 +0000 (08:20 +0000)
commit2b236a709068afd3ffec05d4c18fa46a05859ef1
tree7895f874aca00025c653abeeea520a9b9dd066dd
parent4d8f48c37f3cca5500dbb518367267a137fe8887
Add CRM_Utils_CacheWrapper to all caches

This wraps all caches and dispatches a 'civi.cache.clear' event when deleting items from the cache.
CRM/Utils/Cache.php
CRM/Utils/Cache/CacheWrapper.php [new file with mode: 0644]
CRM/Utils/Cache/SqlGroup.php
tests/phpunit/Civi/Core/Service/AutoDefinitionTest.php