LaravelCache
class LaravelCache implements CacheInterface
laravel 의 cache 기능을 이용한 처리를 담당
Properties
protected Repository | $cache | laravel cache instance | |
protected integer | $minutes | expire time |
Methods
__construct(Repository $cache, int $minutes = 60)
constructor
mixed
get(string $key)
getter
void
put(string $key, mixed $value, int $minutes = null)
setter
bool
has(string $key)
has
void
forget(string $key)
remove
Repository
getCacheManager()
cache manager instance
Details
at line 53
__construct(Repository $cache, int $minutes = 60)
constructor
at line 65
mixed
get(string $key)
getter
at line 78
void
put(string $key, mixed $value, int $minutes = null)
setter
at line 93
bool
has(string $key)
has
at line 104
void
forget(string $key)
remove
at line 114
Repository
getCacheManager()
cache manager instance