$required,
$context );
foreach ($required as &
$product) { if (!\
array_key_exists($product->
getNumber(),
$configurations)) { continue;
} $config =
$configurations[$product->
getNumber()];
$product->
setAdditional($this->
buildTextDynamic($config));
} return $products;
} /**
* @param Group[] $configurations
*
* @return string
*/
private function buildTextDynamic($configurations) {