| @@ 151-160 (lines=10) @@ | ||
| 148 | * @throws \Doctrine\ORM\NoResultException |
|
| 149 | * @throws \Doctrine\ORM\NonUniqueResultException |
|
| 150 | */ |
|
| 151 | public function execUpdate($dryRun, $output = null) |
|
| 152 | { |
|
| 153 | $this->runCommand([ |
|
| 154 | 'command' => 'update', |
|
| 155 | '--no-interaction' => true, |
|
| 156 | '--profile' => true, |
|
| 157 | '--no-scripts' => true, |
|
| 158 | '--dry-run' => (bool) $dryRun, |
|
| 159 | ], $output); |
|
| 160 | } |
|
| 161 | ||
| 162 | /** |
|
| 163 | * Run install command |
|
| @@ 172-181 (lines=10) @@ | ||
| 169 | * @throws \Doctrine\ORM\NoResultException |
|
| 170 | * @throws \Doctrine\ORM\NonUniqueResultException |
|
| 171 | */ |
|
| 172 | public function execInstall($dryRun, $output = null) |
|
| 173 | { |
|
| 174 | $this->runCommand([ |
|
| 175 | 'command' => 'install', |
|
| 176 | '--no-interaction' => true, |
|
| 177 | '--profile' => true, |
|
| 178 | '--no-scripts' => true, |
|
| 179 | '--dry-run' => (bool) $dryRun, |
|
| 180 | ], $output); |
|
| 181 | } |
|
| 182 | ||
| 183 | /** |
|
| 184 | * Get require |
|