Skip to content

Commit fb28ca4

Browse files
committed
remove cache warmup command
1 parent 14f22e0 commit fb28ca4

File tree

3 files changed

+0
-46
lines changed

3 files changed

+0
-46
lines changed

src/Icons/README.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,6 @@ During container warmup (`cache:warmup` and `cache:clear`), the icon cache is wa
4949
> During development, if you change an icon, you will need to clear the cache (`bin/console cache:clear`)
5050
> to see the changes.
5151
52-
### Manual Cache Warmup
53-
54-
If you chose to disable container icon cache warmup, a warmup command is provided:
55-
56-
```bash
57-
bin/console ux:icons:warm-cache
58-
```
59-
6052
## Full Default Configuration
6153

6254
```yaml

src/Icons/config/services.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
namespace Symfony\Component\DependencyInjection\Loader\Configurator;
1313

14-
use Symfony\UX\Icons\Command\WarmIconCacheCommand;
1514
use Symfony\UX\Icons\IconRenderer;
1615
use Symfony\UX\Icons\Registry\CacheIconRegistry;
1716
use Symfony\UX\Icons\Registry\LocalSvgIconRegistry;
@@ -35,12 +34,6 @@
3534

3635
->alias('.ux_icons.icon_registry', '.ux_icons.cache_icon_registry')
3736

38-
->set('.ux_icons.command.warm_icon_cache', WarmIconCacheCommand::class)
39-
->args([
40-
service('.ux_icons.cache_icon_registry'),
41-
])
42-
->tag('console.command')
43-
4437
->set('.ux_icons.twig_icon_extension', UXIconExtension::class)
4538
->tag('twig.extension')
4639

src/Icons/tests/Integration/Command/WarmIconCacheCommandTest.php

Lines changed: 0 additions & 31 deletions
This file was deleted.

0 commit comments

Comments
 (0)