in src/DependencyInjection/AwsExtension.php [65:82]
private function inflateServicesInConfig(array &$config): void
{
array_walk($config, function (&$value) {
if (is_array($value)) {
$this->inflateServicesInConfig($value);
}
if (is_string($value) && 0 === strpos($value, '@')) {
// this is either a service reference or a string meant to
// start with an '@' symbol. In any case, lop off the first '@'
$value = substr($value, 1);
if (0 !== strpos($value, '@')) {
// this is a service reference, not a string literal
$value = new Reference($value);
}
}
});
}