Method
LruCache::has
Returns whether there is an entry for $key, and makes it the most recently used if there is.
Description#
public LruCache::has(
string $key
): boolParameters#
- $key string
Return values#
bool
See also#
LruCache::getReturns the value stored under$key, and makes it the most recently used.