Property | Type | Description | |
---|---|---|---|
$cache | Illuminate\Contracts\Cache\Repository | laravel cache instance | |
$minutes | integer | expire time |
Method | Description | |
---|---|---|
__construct ( Illuminate\Contracts\Cache\Repository $cache, integer $minutes = 60 ) | constructor | |
forget ( string $key ) : void | remove | |
get ( string $key ) : mixed | getter | |
getCacheManager ( ) : Illuminate\Contracts\Cache\Repository | cache manager instance | |
has ( string $key ) : boolean | has | |
put ( string $key, mixed $value, integer $minutes = null ) : void | setter |
public __construct ( Illuminate\Contracts\Cache\Repository $cache, integer $minutes = 60 ) | ||
$cache | Illuminate\Contracts\Cache\Repository | laravel cache instance |
$minutes | integer | expire time |
public getCacheManager ( ) : Illuminate\Contracts\Cache\Repository | ||
return | Illuminate\Contracts\Cache\Repository |
protected Repository,Illuminate\Contracts\Cache $cache | ||
return | Illuminate\Contracts\Cache\Repository |