8000 [FrameworkBundle] Moving Cache-related CompilerPass to Cache component by Korbeil · Pull Request #27770 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[FrameworkBundle] Moving Cache-related CompilerPass to Cache component #27770

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

Conversation

Korbeil
Copy link
Contributor
@Korbeil Korbeil commented Jun 29, 2018
Q A
Branch? master
Bug fix? no
New feature? no
BC breaks? yes
Deprecations? yes
Tests pass? yes
Fixed tickets
License MIT
Doc PR

Hi, first PR here 🎉

This is related to #27479 and a first work to move Cache-related CompilerPass out of FrameworkBundle, it allows to decouple part of the FrameworkBundle configuration classes.

Since we didn't choosed a fixed directory organization to manage theses, I actually did same as in Bundles and used DependencyInjection folder. If we do choose to follow my last comment directory organization proposal, I'll move theses CompilerPass to Framework/DependencyInjection/Compiler directory (nothing hard here).

Thanks to @DanieleGBX that helped me checking this PR and gave me some good advices !

Here is a list of all CompilerPass I moved, with related component (I also moved related tests when they were present):

  • Cache - CacheCollectorPass
  • Cache - CachePoolClearerPass
  • Cache - CachePoolPass
  • Cache - CachePoolPrunerPass