- cross-posted to:
- php@programming.dev
- php@lemmy.ml
- php@kbin.social
- cross-posted to:
- php@programming.dev
- php@lemmy.ml
- php@kbin.social
A while ago I made this Symfony bundle that automagically memoizes your service methods using a PSR-6 cache.
Usage is very simple in 3 steps:
- have the service you want to memoize implement any interface
- mark the service with the
attribute
- mark methods (or whole service) with the
attribute
Done!
You must log in or register to comment.