Skip to content

Commit f505c64

Browse files
committed
feature #18595 [Cache] Document cache:pool:clear’s new --exclude option (MatTheCat)
This PR was squashed before being merged into the 6.4 branch. Discussion ---------- [Cache] Document `cache:pool:clear`’s new `--exclude` option Feature PR * symfony/symfony#51058 Commits ------- cc7ac50 [Cache] Document `cache:pool:clear`’s new `--exclude` option
2 parents bed77a4 + cc7ac50 commit f505c64

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

cache.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -749,6 +749,16 @@ Clear all cache pools:
749749

750750
The ``--all`` option was introduced in Symfony 6.3.
751751

752+
Clear all cache pools except some:
753+
754+
.. code-block:: terminal
755+
756+
$ php bin/console cache:pool:clear --all --exclude=my_cache_pool --exclude=another_cache_pool
757+
758+
.. versionadded:: 6.4
759+
760+
The ``--exclude`` option was introduced in Symfony 6.4.
761+
752762
Clear all caches everywhere:
753763

754764
.. code-block:: terminal

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy