I think you use it wrong. As first argument you pass key of cache, as second value and as third expire time in minutes.
If you want to cache some bans with reason, for example assume you have in PHP some group of users who spammed, you could use something like that:
$bans = [
[
'ip' => 'test ip',
'reason' => "spam: test reason",
],
[
'ip' => 'test ip2 ',
'reason' => "spam: test reason 2",
]
];
Cache::tags('bans')->put('spam', $bans, 100);
$spams = Cache::tags('bans')->get('spam');
foreach ($spams as $spam) {
echo $spam['ip'].' '.$spam['reason']."<br />";
}
So here you put into cache the whole array and now you can access items using standard foreach
loop.