Stash v0.11.1 Release Notes

    • 🌲 Logging Support

      The Pool and Item classes can now have PSR-3 compliant Logging libraries injected into them through the setLogger($logger) functions. Any logger injected into the Pool class will get injected into any Items it generates.

    • Pool and Item Interfaces

      The Stash\Pool and Stash\Item classes now implement the new Stash\Interface\Pool and Stash\interface\Item inferaces.

    • Extend Cache renamed and given a ttl

      The Stash\Item::extendCache() function is now Stash\Item::extend($ttl = null).

    • Formatting changes, PSR-1 and PSR-2 compliant.

    • Added "setItemClass" function to the Pool class

      This allows new Item classes to be generated, as long as they following the new interface.