Scrapbook

Psr6

Table of Contents

Classes

InfinityDateTime
Stub class to represent infinity, while still keeping with the PSR-6 requirement of representing TTL with DateTime objects (with which it's not possible to represent an infinite time, for permanent keys).
InvalidArgumentException
Item
Representation of a cache item, both existing & non-existing (to be created).
Pool
Representation of the cache storage, which lets you read items from, and add values to the cache.
Repository
Helper object to serve as glue between pool & item.

        
On this page

Search results