Skip to content

Commit

Permalink
Correctly re-add child definition tags
Browse files Browse the repository at this point in the history
  • Loading branch information
aschempp committed Oct 12, 2020
1 parent 9e83db2 commit 0099dd2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ protected function registerFragments(ContainerBuilder $container, string $tag):
$command->addMethodCall('add', [$identifier, $config, $attributes]);
}

$childDefinition->addTag($tag, $attributes);
$childDefinition->setTags($definition->getTags());
$container->setDefinition($serviceId, $childDefinition);

if ($this->globalsKey && $this->proxyClass) {
Expand Down

0 comments on commit 0099dd2

Please sign in to comment.