webclient/cache-adapter-psr-cache

Interface for caching

v3.0.0 2022-07-26 16:10 UTC

This package is not auto-updated.

Last update: 2024-12-12 01:37:07 UTC


README

Latest Stable Version Total Downloads License PHP

webclient/cache-adapter-psr-cache

psr/cache adapter for webclient/cache-contract

Install

Install this package and your favorite psr-6 implementation.

Install this package

composer require webclient/cache-adapter-psr-cache:^3.0

Usage

<?php

/** @var \Psr\Cache\CacheItemPoolInterface $psrCache */
$psrCacheAdapter = new \Webclient\Cache\Adapter\PsrCache\PsrCacheAdapter($psrCache);