return new Reference($definition->innerServiceId ??
$this->currentId.'.inner',
$definition->decorationOnInvalid ?? ContainerInterface::NULL_ON_INVALID_REFERENCE
);
} try { return $this->
doProcessValue($value,
$isRoot);
} catch (AutowiringFailedException
$e) { if ($this->throwOnAutowiringException
) { throw $e;
} $this->container->
getDefinition($this->currentId
)->
addError($e->
getMessageCallback() ??
$e->
getMessage());
return parent::
processValue($value,
$isRoot);
} } private function doProcessValue(mixed
$value, bool
$isRoot = false
): mixed
{ if ($value instanceof TypedReference
) { foreach ($value->
getAttributes() as $attribute) { if ($attribute ===
$v =
$this->
processValue($attribute)) { continue;
}