I am trying to use Laravel 5 cache in te following way:
public function putUserCacheData($key, $value){
\Cache::put($this->login, [$key => $value], 30);
}
So I have structure like this
['testlogin'] => [
'param1' => 'value1',
'param2' => 'value2',
]
But I can dlete Item from cache with key param1 for testlogin?
Thanks for your help!