There are some mistakes in the framework that sometimes make it impossible to write clean code. I’m wondering whether there is an interest to improve the design and whether I can contribute to that.
The cache StorageFactory is supposed to return a StorageInterface, but the actual adapters implement a whole bunch of other interfaces. This means that I can’t safely inject cache as a dependency.
I’m not here to point fingers or judge. I just want to help make it better so that I can write cleaner code for my clients.