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
|
@@ 423-427 (lines=5) @@
|
420 |
|
$config = $this->getConfig()->getConfig(); |
421 |
|
|
422 |
|
$groups = array(); |
423 |
|
foreach ($config['targets'] as $targetName => $targetConfig) { |
424 |
|
foreach ($targetConfig['groups'] as $group) { |
425 |
|
$groups[$group][] = $targetName; |
426 |
|
} |
427 |
|
} |
428 |
|
|
429 |
|
return $groups; |
430 |
|
} |