You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -66,7 +70,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
66
70
}
67
71
68
72
$kernel = $this->getContainer()->get('kernel');
69
-
$output->writeln(sprintf('Clearing the cache for the <info>%s</info> environment with debug <info>%s</info>', $kernel->getEnvironment(), var_export($kernel->isDebug(), true)));
73
+
$output->comment(sprintf('Clearing the cache for the <info>%s</info> environment with debug <info>%s</info>', $kernel->getEnvironment(), var_export($kernel->isDebug(), true)));
@@ -96,15 +100,17 @@ protected function execute(InputInterface $input, OutputInterface $output)
96
100
$filesystem->rename($warmupDir, $realCacheDir);
97
101
}
98
102
99
-
if ($output->isVerbose()) {
100
-
$output->writeln('Removing old cache directory');
103
+
if ($outputIsVerbose) {
104
+
$output->comment('Removing old cache directory...');
101
105
}
102
106
103
107
$filesystem->remove($oldCacheDir);
104
108
105
-
if ($output->isVerbose()) {
106
-
$output->writeln(' Done');
109
+
if ($outputIsVerbose) {
110
+
$output->comment('Finished');
107
111
}
112
+
113
+
$output->success(sprintf('Cache for the "%s" environment (debug=%s) was succesfully cleared.', $kernel->getEnvironment(), var_export($kernel->isDebug(), true)));
0 commit comments