} protected function processValue(mixed
$value, bool
$isRoot = false
): mixed
{ if ($value instanceof TypedReference &&
$value->
getType() ===
(string) $value) { // Already checked
$bindings =
$this->container->
getDefinition($this->currentId
)->
getBindings();
$name =
$value->
getName();
if (isset($name,
$bindings[$name =
$value.' $'.
$name])) { return $this->
getBindingValue($bindings[$name]);
} if (isset($bindings[$value->
getType()])) { return $this->
getBindingValue($bindings[$value->
getType()]);
} return parent::
processValue($value,
$isRoot);
} if (!
$value instanceof Definition || !
$bindings =
$value->
getBindings()) { return parent::
processValue($value,
$isRoot);
}