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.