Skip to content

Commit 50063c8

Browse files
committed
Add tag
1 parent 62ed820 commit 50063c8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/DependencyInjection/CacheAdapterExtension.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ public function load(array $configs, ContainerBuilder $container)
4949
$def = $container->register('cache.provider.'.$name, DummyAdapter::class);
5050
$def->setFactory([new Reference($arguments['factory']), 'createAdapter'])
5151
->addArgument($arguments['options']);
52+
53+
$def->setTags(['cache.provider' => []]);
5254
}
5355

5456
$container->setAlias('cache', 'cache.provider.'.$first);

0 commit comments

Comments
 (0)