zendframework/zf2 — pull request #1200 by marc-mabe (2012-05-10 23:29:02+00:00)
Title: Cache: Changed "item not found" behavior

- get returns NULL on missing (failed) item and has a third argument by reference to show if the returned value is $success
(also the CAS-Token argument is an own argument by reference now)
- multiple get returns array of key value pairs
- set/add/replace/touch/in-/decrement/remove returns false in cases of failure
- multiple set/add/replace/touch/remove returns an array of failed keys
- multiple incrment/decrement returns an array or key value pairs of updated items (failed items are missing)

NOTES:
- failed/failure means the operation failed but not in cases or hard errors
- item not found / iten found on add method, etc...
- errors like Permission denied throws an exception
- thrown exceptions can be automatically catched with the ExceptionHandler, than the operation return the result as failure (described above)
- removed the option "ignore_missing_items" and ItemNotFoundException