Cache
class Cache extends AbstractCache (View source)
Properties
| protected Repository | $repository | The cache repository implementation. |
|
| protected string | $key | The cache key. |
|
| protected int|null | $expire | The cache expiration time in seconds. |
Methods
void
__construct(Repository $repository, string $key = 'flysystem', int|null $expire = null)
Create a new cache instance.
void
load()
Load the cache.
void
save()
Persist the cache.
Details
void
__construct(Repository $repository, string $key = 'flysystem', int|null $expire = null)
Create a new cache instance.
void
load()
Load the cache.
void
save()
Persist the cache.
Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.