mirror of
https://github.com/flextype/flextype.git
synced 2025-08-07 05:36:54 +02:00
feat(console): update CacheDeleteCommand #543
This commit is contained in:
@@ -28,10 +28,10 @@ class CacheDeleteCommand extends Command
|
||||
$key = $input->getArgument('key');
|
||||
|
||||
if (cache()->delete($key)) {
|
||||
$io->success('Key ' . $key . ' deleted.');
|
||||
$io->success('Cache item with key ' . $key . ' deleted.');
|
||||
return Command::SUCCESS;
|
||||
} else {
|
||||
$io->error('Key ' . $key . ' wasn\'t deleted.');
|
||||
$io->error('Cache item with key ' . $key . ' wasn\'t deleted.');
|
||||
return Command::FAILURE;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user