Кэш
класс Cache extends AbstractCache (View source)
Свойства
| protected Репозиторий | $repository | Реализация репозитория кэша. | |
| protected string | $key | Ключ кэша. | |
| protected int|null | $expire | Время истечения кэша в секундах. |
Методы
| __construct(Репозиторий $repository, string $key = 'flysystem', int|null $expire = null) Создать новый экземпляр кэша. | ||
| void | load() Загрузить кэш. | |
| void | save() Сохранить кэш. |
Подробности
__construct(Репозиторий $repository, string $key = 'flysystem', int|null $expire = null)
Создать новый экземпляр кэша.
void load()
Загрузить кэш.
void save()
Сохранить кэш.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.8/Illuminate/Filesystem/Cache.html