foreach ($container->envCounters
as $env =>
$count) { if (!
$count && !
isset($envPlaceholders[$env])) { continue;
} if (!
isset($this->envCounters
[$env])) { $this->envCounters
[$env] =
$count;
} else { $this->envCounters
[$env] +=
$count;
} } foreach ($container->
getAutoconfiguredInstanceof() as $interface =>
$childDefinition) { if (isset($this->autoconfiguredInstanceof
[$interface])) { throw new InvalidArgumentException(sprintf('"%s" has already been autoconfigured and merge() does not support merging autoconfiguration for the same class/interface.',
$interface));
} $this->autoconfiguredInstanceof
[$interface] =
$childDefinition;
} foreach ($container->
getAutoconfiguredAttributes() as $attribute =>
$configurator) { if (isset($this->autoconfiguredAttributes
[$attribute])) { throw new InvalidArgumentException(sprintf('"%s" has already been autoconfigured and merge() does not support merging autoconfiguration for the same attribute.',
$attribute));
}