Skip to content

Commit 8a8d394

Browse files
authored
modify cache service name
1 parent 4025e6f commit 8a8d394

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/Icons/config/iconify.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
->set('.ux_icons.iconify', Iconify::class)
2929
->args([
30-
service('cache.ux_icon'),
30+
service('cache.ux.icons'),
3131
abstract_arg('endpoint'),
3232
service('http_client')->nullOnInvalid(),
3333
])

src/Icons/config/services.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,15 @@
2424

2525
return static function (ContainerConfigurator $container): void {
2626
$container->services()
27-
->set('cache.ux_icon')
27+
->set('cache.ux.icons')
2828
->parent('cache.system')
29+
->private()
2930
->tag('cache.pool')
3031

3132
->set('.ux_icons.cache_icon_registry', CacheIconRegistry::class)
3233
->args([
3334
service('.ux_icons.chain_registry'),
34-
service('cache.ux_icon'),
35+
service('cache.ux.icons'),
3536
])
3637

3738
->set('.ux_icons.local_svg_icon_registry', LocalSvgIconRegistry::class)

0 commit comments

Comments
 (0)