+ public function getUnion($key)
+ {
+ $result = [];
+ foreach (array_reverse($this->contexts) as $name => $config) {
+ $item = (array) $config->get($key, []);
+ if ($item !== null) {
+ $result = array_merge($result, $item);
+ }
+ }
+ return $result;
+ }
+