TYPE_ANY
TYPE_ANY
This class provides static methods for setting up an app wide cache handler.
to allow caching data for a limited amount of time.
set_driver(\cms_cache_driver $driver)
Set the cache driver into this object.
\cms_cache_driver | $driver |
get_driver() : \cms_cache_driver
Return the cache driver for this object
can_cache() : bool
This method tests if an item can be stored in the cache for a request.
This is because at certain times (i.e: during module installation, or in a stylesheet request) it may be inappropriate or unable to store data as the cache would be invalidated by a higher level function.