On CacheInterface: > > - doesn't say what happens when $key is invalid. I guess the same > exception as PSR-6. Should be written? > > I missed adding one note here: the fact that getMultiple returns *all* keys, even cache misses, makes it impossible to (efficiently) implement a PSR-16 to PSR-6 bridge, because it makes it impossible to detect cache misses. when given an array, apcu_fetch for example has this other behavior of returning only the "hit", so it doesn't suffer from this. Could this be worth considering for a change?
Nicolas -- You received this message because you are subscribed to the Google Groups "PHP Framework Interoperability Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/php-fig/CAOWwgpmEuKiQ_CaNPphWemAKnnZ4isURHJhwt-SDyBetMmk1%3Dw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
