PHP Class Kevinrob\GuzzleCache\Storage\LaravelCacheStorage

Inheritance: implements Kevinrob\GuzzleCache\Storage\CacheStorageInterface
Datei anzeigen Open project: kevinrob/guzzle-cache-middleware

Protected Properties

Property Type Description
$cache Illuminate\Cache\Repository

Public Methods

Method Description
__construct ( Illuminate\Cache\Repository $cache )
fetch ( $key )
save ( $key, CacheEntry $data )

Method Details

__construct() public method

public __construct ( Illuminate\Cache\Repository $cache )
$cache Illuminate\Cache\Repository

fetch() public method

public fetch ( $key )

save() public method

public save ( $key, CacheEntry $data )
$data Kevinrob\GuzzleCache\CacheEntry

Property Details

$cache protected_oe property

protected Repository,Illuminate\Cache $cache
return Illuminate\Cache\Repository