| @@ 246-257 (lines=12) @@ | ||
| 243 | /** |
|
| 244 | * {@inheritdoc} |
|
| 245 | */ |
|
| 246 | public function getMigrationPaths() |
|
| 247 | { |
|
| 248 | if (!isset($this->values['paths']['migrations'])) { |
|
| 249 | throw new \UnexpectedValueException('Migrations path missing from config file'); |
|
| 250 | } |
|
| 251 | ||
| 252 | if (is_string($this->values['paths']['migrations'])) { |
|
| 253 | $this->values['paths']['migrations'] = [$this->values['paths']['migrations']]; |
|
| 254 | } |
|
| 255 | ||
| 256 | return $this->values['paths']['migrations']; |
|
| 257 | } |
|
| 258 | ||
| 259 | /** |
|
| 260 | * {@inheritdoc} |
|
| @@ 287-298 (lines=12) @@ | ||
| 284 | /** |
|
| 285 | * {@inheritdoc} |
|
| 286 | */ |
|
| 287 | public function getSeedPaths() |
|
| 288 | { |
|
| 289 | if (!isset($this->values['paths']['seeds'])) { |
|
| 290 | throw new \UnexpectedValueException('Seeds path missing from config file'); |
|
| 291 | } |
|
| 292 | ||
| 293 | if (is_string($this->values['paths']['seeds'])) { |
|
| 294 | $this->values['paths']['seeds'] = [$this->values['paths']['seeds']]; |
|
| 295 | } |
|
| 296 | ||
| 297 | return $this->values['paths']['seeds']; |
|
| 298 | } |
|
| 299 | ||
| 300 | /** |
|
| 301 | * Get the template file name. |
|