| @@ 157-166 (lines=10) @@ | ||
| 154 | * @throws \Doctrine\ORM\NoResultException |
|
| 155 | * @throws \Doctrine\ORM\NonUniqueResultException |
|
| 156 | */ |
|
| 157 | public function execUpdate($dryRun, $output = null) |
|
| 158 | { |
|
| 159 | $this->runCommand([ |
|
| 160 | 'command' => 'update', |
|
| 161 | '--no-interaction' => true, |
|
| 162 | '--profile' => true, |
|
| 163 | '--no-scripts' => true, |
|
| 164 | '--dry-run' => (bool) $dryRun, |
|
| 165 | ], $output); |
|
| 166 | } |
|
| 167 | ||
| 168 | /** |
|
| 169 | * Run install command |
|
| @@ 178-187 (lines=10) @@ | ||
| 175 | * @throws \Doctrine\ORM\NoResultException |
|
| 176 | * @throws \Doctrine\ORM\NonUniqueResultException |
|
| 177 | */ |
|
| 178 | public function execInstall($dryRun, $output = null) |
|
| 179 | { |
|
| 180 | $this->runCommand([ |
|
| 181 | 'command' => 'install', |
|
| 182 | '--no-interaction' => true, |
|
| 183 | '--profile' => true, |
|
| 184 | '--no-scripts' => true, |
|
| 185 | '--dry-run' => (bool) $dryRun, |
|
| 186 | ], $output); |
|
| 187 | } |
|
| 188 | ||
| 189 | /** |
|
| 190 | * Get require |
|