src/Webcreate/Conveyor/Config/YamlConfig.php 1 location
|
@@ 176-180 (lines=5) @@
|
| 173 |
|
} |
| 174 |
|
|
| 175 |
|
$groups = array(); |
| 176 |
|
foreach ($config['targets'] as $targetName => $targetConfig) { |
| 177 |
|
foreach ($targetConfig['groups'] as $group) { |
| 178 |
|
$groups[$group][] = $targetName; |
| 179 |
|
} |
| 180 |
|
} |
| 181 |
|
|
| 182 |
|
foreach ($section as &$taskConfig) { |
| 183 |
|
$targets = $taskConfig['targets']; |
src/Webcreate/Conveyor/Conveyor.php 1 location
|
@@ 420-424 (lines=5) @@
|
| 417 |
|
$config = $this->getConfig()->getConfig(); |
| 418 |
|
|
| 419 |
|
$groups = array(); |
| 420 |
|
foreach ($config['targets'] as $targetName => $targetConfig) { |
| 421 |
|
foreach ($targetConfig['groups'] as $group) { |
| 422 |
|
$groups[$group][] = $targetName; |
| 423 |
|
} |
| 424 |
|
} |
| 425 |
|
|
| 426 |
|
return $groups; |
| 427 |
|
} |