| @@ 140-149 (lines=10) @@ | ||
| 137 | * @throws \Doctrine\ORM\NoResultException |
|
| 138 | * @throws \Doctrine\ORM\NonUniqueResultException |
|
| 139 | */ |
|
| 140 | public function execUpdate($dryRun, $output = null) |
|
| 141 | { |
|
| 142 | $this->runCommand([ |
|
| 143 | 'command' => 'update', |
|
| 144 | '--no-interaction' => true, |
|
| 145 | '--profile' => true, |
|
| 146 | '--no-scripts' => true, |
|
| 147 | '--dry-run' => (bool) $dryRun, |
|
| 148 | ], $output); |
|
| 149 | } |
|
| 150 | ||
| 151 | /** |
|
| 152 | * Run install command |
|
| @@ 161-170 (lines=10) @@ | ||
| 158 | * @throws \Doctrine\ORM\NoResultException |
|
| 159 | * @throws \Doctrine\ORM\NonUniqueResultException |
|
| 160 | */ |
|
| 161 | public function execInstall($dryRun, $output = null) |
|
| 162 | { |
|
| 163 | $this->runCommand([ |
|
| 164 | 'command' => 'install', |
|
| 165 | '--no-interaction' => true, |
|
| 166 | '--profile' => true, |
|
| 167 | '--no-scripts' => true, |
|
| 168 | '--dry-run' => (bool) $dryRun, |
|
| 169 | ], $output); |
|
| 170 | } |
|
| 171 | ||
| 172 | /** |
|
| 173 | * Get require |
|