Skip to content

Commit 5c777ff

Browse files
authored
adding migration guide
1 parent b842c70 commit 5c777ff

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,27 @@ Check the documentation in [ReadTheDocs](http://gearmanbundle.readthedocs.org/).
2020
Some recipes will be written soon. If you have some ideas and you want to share
2121
them with us, don't hesitate to open a RFC issue or a Pull Request.
2222

23+
Migration from 4 to 5:
24+
```
25+
doctrine_cache:
26+
providers:
27+
gearman_cache:
28+
type: file_system
29+
namespace: doctrine_cache.ns.gearman
30+
```
31+
needs to be replaced with
32+
```
33+
34+
framework:
35+
cache:
36+
pools:
37+
gearman_cache:
38+
adapter: cache.adapter.filesystem
39+
```
2340

2441
Tags
2542
----
43+
* Symfony 5/6 is supported by tags 5
2644
* Symfony 4.0 is supported by tags 4.1+ (they still work with Symfony 3.X)
2745
* All 4.X tags support Symfony 3.X
2846
* Use tags lower than 4.X for Symfony 2.X versions

0 commit comments

Comments
 (0)