$cached
$cached : array
Cacheds data.
File adapter class.
The FileAdapter class implements a cache adapter that stores cached data in
files. It extends the AbstractCacheAdapter class and provides methods to read,
write, and manage cache data stored in files.
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.