Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support to easily clear all cache pools #49705

Open
wants to merge 1 commit into
base: 6.3
Choose a base branch
from

Conversation

bobvandevijver
Copy link
Contributor

Q A
Branch? 6.3
Bug fix? no
New feature? yes
Deprecations? no
Tickets Fix #22047
License MIT
Doc PR symfony/symfony-docs#...

As suggested in #22047, I've now added a --all option to clear all cache pools by just providing that argument to cache:pool:clear. I believe this is more convenient than remembering the cache.global_clearer clearer alias and more descriptive for the consumer.

@k0d3r1s
Copy link
Contributor

k0d3r1s commented Mar 16, 2023

quick reminder that new features require PR in symfony/symfony-docs as well ;)

@bobvandevijver
Copy link
Contributor Author

bobvandevijver commented Mar 16, 2023

quick reminder that new features require PR in symfony/symfony-docs as well ;)

You're absolutely right, I should have mentioned I will make that addition when I at least know this is going to be accepted in some form. The issue I link might indicate that already, but as it was quite old I find it best to have confirmation first :)

Test errors look to be unrelated by the way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FrameworkBundle] Clear cache pools
3 participants