I was looking for something similar to Doctrine's ArrayCache and I stumbled upon BlackHole driver which does more or less what I need. It's not the same as ArrayCache because this driver discards all records and does no caching at all but for testing purposes it's sufficient.
However, BlackHole driver isn't documented anywhere.
I was looking for something similar to Doctrine's ArrayCache and I stumbled upon BlackHole driver which does more or less what I need. It's not the same as ArrayCache because this driver discards all records and does no caching at all but for testing purposes it's sufficient.
However, BlackHole driver isn't documented anywhere.