class Cache extends AbstractCache (View source)
protected Repository | $repository | The cache repository implementation. | |
protected string | $key | The cache key. | |
protected int|null | $expire | The cache expiration time in seconds. |
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. |
Create a new cache instance.
Load the cache.
Persist the cache.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/8.x/Illuminate/Filesystem/Cache.html