seatplus/esi-client

View on GitHub
src/CacheMiddleware/NullCacheMiddleware.php

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
<?php

namespace Seatplus\EsiClient\CacheMiddleware;

use Kevinrob\GuzzleCache\CacheMiddleware;
use Kevinrob\GuzzleCache\Strategy\NullCacheStrategy;

class NullCacheMiddleware implements CacheMiddlewareInterface
{
    #[\Override]
    public function getCacheMiddleware(): CacheMiddleware
    {
        return new CacheMiddleware(
            new NullCacheStrategy
        );
    }
}