} 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));
} $this->autoconfiguredAttributes
[$attribute] =
$configurator;
} } /**
* Returns the configuration array for the given extension.
*
* @return array<array<string, mixed>>
*/