Command/MassMigrateCommand.php 1 location
|
@@ 134-138 (lines=5) @@
|
| 131 |
|
} |
| 132 |
|
} |
| 133 |
|
|
| 134 |
|
if ($input->getOption('clear-cache')) { |
| 135 |
|
$command = $this->getApplication()->find('cache:clear'); |
| 136 |
|
$inputArray = new ArrayInput(array('command' => 'cache:clear')); |
| 137 |
|
$command->run($inputArray, $output); |
| 138 |
|
} |
| 139 |
|
|
| 140 |
|
$time = microtime(true) - $start; |
| 141 |
|
|
Command/MigrateCommand.php 1 location
|
@@ 212-216 (lines=5) @@
|
| 209 |
|
} |
| 210 |
|
} |
| 211 |
|
|
| 212 |
|
if ($input->getOption('clear-cache')) { |
| 213 |
|
$command = $this->getApplication()->find('cache:clear'); |
| 214 |
|
$inputArray = new ArrayInput(array('command' => 'cache:clear')); |
| 215 |
|
$command->run($inputArray, $output); |
| 216 |
|
} |
| 217 |
|
|
| 218 |
|
$time = microtime(true) - $start; |
| 219 |
|
$this->writeln("Executed $executed migrations, failed $failed, skipped $skipped"); |