This PR updates the codebase to support psr/cache 3.0 and 2.0 (2.0 because 3.0 has narrower types). It makes a couple slight changes to the interfaces and implementations, probably most notable is that item::set will now throw an exception rather than return false if it's called when the item has no key set.
This PR updates the codebase to support
psr/cache
3.0 and 2.0 (2.0 because 3.0 has narrower types). It makes a couple slight changes to the interfaces and implementations, probably most notable is thatitem::set
will now throw an exception rather than returnfalse
if it's called when the item has no key set.Resolves #420