Command/MassMigrateCommand.php 1 location
|
@@ 158-162 (lines=5) @@
|
| 155 |
|
} |
| 156 |
|
} |
| 157 |
|
|
| 158 |
|
if ($input->getOption('clear-cache')) { |
| 159 |
|
$command = $this->getApplication()->find('cache:clear'); |
| 160 |
|
$inputArray = new ArrayInput(array('command' => 'cache:clear')); |
| 161 |
|
$command->run($inputArray, $output); |
| 162 |
|
} |
| 163 |
|
|
| 164 |
|
$time = microtime(true) - $start; |
| 165 |
|
|
Command/MigrateCommand.php 1 location
|
@@ 226-230 (lines=5) @@
|
| 223 |
|
} |
| 224 |
|
} |
| 225 |
|
|
| 226 |
|
if ($input->getOption('clear-cache')) { |
| 227 |
|
$command = $this->getApplication()->find('cache:clear'); |
| 228 |
|
$inputArray = new ArrayInput(array('command' => 'cache:clear')); |
| 229 |
|
$command->run($inputArray, $output); |
| 230 |
|
} |
| 231 |
|
|
| 232 |
|
$time = microtime(true) - $start; |
| 233 |
|
$this->writeln("Executed $executed migrations, failed $failed, skipped $skipped"); |