Skip to content

Commit 8953c9d

Browse files
committed
Replaced the table of cache warmers by the debug:container command
1 parent 34c0ca2 commit 8953c9d

File tree

1 file changed

+9
-26
lines changed

1 file changed

+9
-26
lines changed

reference/dic_tags.rst

Lines changed: 9 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -582,32 +582,15 @@ can also register it manually:
582582
application and/or bundles should be prepared for when the contents
583583
generated by the cache warmer are not available.
584584

585-
Core Cache Warmers
586-
~~~~~~~~~~~~~~~~~~
587-
588-
+-------------------------------------------------------------------------------------------+-----------+
589-
| Cache Warmer Class Name | Priority |
590-
+===========================================================================================+===========+
591-
| :class:`Symfony\\Bundle\\FrameworkBundle\\CacheWarmer\\TemplatePathsCacheWarmer` | 20 |
592-
+-------------------------------------------------------------------------------------------+-----------+
593-
| :class:`Symfony\\Component\\HttpKernel\\CacheWarmer\\CacheWarmerAggregate` | 0 |
594-
+-------------------------------------------------------------------------------------------+-----------+
595-
| :class:`Symfony\\Bundle\\FrameworkBundle\\CacheWarmer\\RouterCacheWarmer` | 0 |
596-
+-------------------------------------------------------------------------------------------+-----------+
597-
| :class:`Symfony\\Bundle\\FrameworkBundle\\CacheWarmer\\ValidatorCacheWarmer` | 0 |
598-
+-------------------------------------------------------------------------------------------+-----------+
599-
| :class:`Symfony\\Bundle\\FrameworkBundle\\CacheWarmer\\SerializerCacheWarmer` | 0 |
600-
+-------------------------------------------------------------------------------------------+-----------+
601-
| :class:`Symfony\\Bundle\\FrameworkBundle\\CacheWarmer\\TranslationsCacheWarmer` | 0 |
602-
+-------------------------------------------------------------------------------------------+-----------+
603-
| :class:`Symfony\\Bundle\\FrameworkBundle\\CacheWarmer\\AnnotationsCacheWarmer` | 0 |
604-
+-------------------------------------------------------------------------------------------+-----------+
605-
| :class:`Symfony\\Bundle\\SecurityBundle\\CacheWarmer\\ExpressionCacheWarmer` | 0 |
606-
+-------------------------------------------------------------------------------------------+-----------+
607-
| :class:`Symfony\\Bundle\\TwigBundle\\CacheWarmer\\TemplateCacheCacheWarmer` | 0 |
608-
+-------------------------------------------------------------------------------------------+-----------+
609-
| :class:`Symfony\\Bundle\\TwigBundle\\CacheWarmer\\TemplateCacheWarmer` | 0 |
610-
+-------------------------------------------------------------------------------------------+-----------+
585+
.. _core-cache-warmers:
586+
587+
In addition to your own cache warmers, Symfony components and third-party
588+
bundles define cache warmers too for their own purposes. You can list them all
589+
with the following command:
590+
591+
.. code-block:: terminal
592+
593+
$ php bin/console debug:container --tag=kernel.cache_warmer
611594
612595
.. _dic-tags-kernel-event-listener:
613596

0 commit comments

Comments
 (0)