get()
get(string $key, boolean $age = false) : mixed
Get an item from the cache if available.
Parameters
| string |
$key |
to the cached object. |
| boolean |
$age |
check the age or not, defaults to
false. |
Returns
mixed
— the cached object or false if it has aged
or null if it does not exists.