Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature #37951 [FrameworkBundle] Make AbstractPhpFileCacheWarmer publ…
…ic (ossinkine) This PR was submitted for the 3.4 branch but it was merged into the 5.2-dev branch instead. Discussion ---------- [FrameworkBundle] Make AbstractPhpFileCacheWarmer public | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | no | New feature? | no | Deprecations? | no | License | MIT Introducing the PhpArrayAdapter was a great feature. It has proven itself well in the production. Actually, using the adapter is closely related to warming up the cache for it. FrameworkBundle has an AbstractPhpFileCacheWarmer for conveniently creating a custom warmer. But using it outside of the FrameworkBundle becomes more complicated because it is marked as internal. I propose making it public and allow it to be used outside of the FrameworkBundle. For example, I've proposed to cache Doctrine metadata using PhpArrayAdapter and the implementation uses AbstractPhpFileCacheWarmer doctrine/DoctrineBundle#1196 Commits ------- a0fb442 Make AbstractPhpFileCacheWarmer public
- Loading branch information