get()
get( $key) : mixed
Get a stored value form cache.
Parameters
$key |
Returns
mixed —the cached value or null if the key does not exist in cache
A cache provider such as APC or Memcache may be used by the DeviceApi and DeviceApiWeb to cache the detected properties. Using cache improves the performance by not doing unnecessary lookups in the data files. A valid cache provider must implement this interface to be usable by the APIs.
get( $key) : mixed
Get a stored value form cache.
$key |
the cached value or null if the key does not exist in cache
set( $key, $value)
Store a value in cache.
$key | ||
$value |
delete( $key)
Remove an item from the cache.
$key |
clear()
Clear the whole cache.
Warning: count(): Parameter must be an array or an object that implements Countable in /opt/phpdoc/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275 Warning: count(): Parameter must be an array or an object that implements Countable in /opt/phpdoc/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275