$cached
$cached : array
Cacheds data.
Abstract cache adapter class.
The AbstractCacheAdapter
class provides a foundation for implementing cache
adapters. It implements the methods defined in the CacheAdapterInterface and
adds some common properties and behaviors.
put(string $key, mixed $value, ?int $seconds = null) : $this
Store a value in the cache with an optional expiration time.
string | $key | Holds the cache key to store. |
mixed | $value | Holds the value to store in the cache. |
?int | $seconds | Holds the number of seconds until the cache item expires (null for no expiration). |
Return the cache adapter instance.