$config =
config(Cache::
class);
helper('number'
);
if ($config->handler !== 'file'
) { CLI::
error('This command only supports the file cache handler.'
);
return;
} $cache = CacheFactory::
getHandler($config);
$caches =
$cache->
getCacheInfo();
$tbody =
[];
foreach ($caches as $key =>
$field) { $tbody[] =
[ $key,
clean_path($field['server_path'
]),
number_to_size($field['size'
]),
Time::
createFromTimestamp($field['date'
]),
];
}