Command/MassMigrateCommand.php 1 location
|
@@ 144-148 (lines=5) @@
|
| 141 |
|
} |
| 142 |
|
} |
| 143 |
|
|
| 144 |
|
if ($input->getOption('clear-cache')) { |
| 145 |
|
$command = $this->getApplication()->find('cache:clear'); |
| 146 |
|
$inputArray = new ArrayInput(array('command' => 'cache:clear')); |
| 147 |
|
$command->run($inputArray, $output); |
| 148 |
|
} |
| 149 |
|
|
| 150 |
|
$time = microtime(true) - $start; |
| 151 |
|
|
Command/MigrateCommand.php 1 location
|
@@ 169-173 (lines=5) @@
|
| 166 |
|
} |
| 167 |
|
} |
| 168 |
|
|
| 169 |
|
if ($input->getOption('clear-cache')) { |
| 170 |
|
$command = $this->getApplication()->find('cache:clear'); |
| 171 |
|
$inputArray = new ArrayInput(array('command' => 'cache:clear')); |
| 172 |
|
$command->run($inputArray, $output); |
| 173 |
|
} |
| 174 |
|
|
| 175 |
|
$time = microtime(true) - $start; |
| 176 |
|
$this->writeln("Executed $executed migrations, failed $failed, skipped $skipped"); |