Closed Slamdunk closed 8 months ago
Indeed. Is this a blocker in your opinion?
Not a blocker, just a general observation. Support for closures in cached configs is supported for a long time now and the "new" syntax should be easy enough for most people.
But the calls should be changed in the examples in the README https://github.com/Roave/psr-container-doctrine?tab=readme-ov-file#configuration
https://github.com/Roave/psr-container-doctrine/pull/123/files
Wasn't that a feature so that named entity managers can be easlily registered in a laminas container via configuration like so?
Recent versions of the laminas support closures in the cached config so it can be rewritten as as the following: