Skip to content

Commit

Permalink
Rename DoctrineCacheWrapper to DoctrineCacheStorage
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevinrob committed Sep 19, 2015
1 parent 11b95e5 commit 1c34347
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use Doctrine\Common\Cache\Cache;
use Kevinrob\GuzzleCache\CacheEntry;

class DoctrineCacheWrapper implements CacheStorageInterface
class DoctrineCacheStorage implements CacheStorageInterface
{
/**
* @var Cache
Expand Down
10 changes: 5 additions & 5 deletions tests/PrivateCacheTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
use Doctrine\Common\Cache\PhpFileCache;
use GuzzleHttp\Psr7\Request;
use GuzzleHttp\Psr7\Response;
use Kevinrob\GuzzleCache\Storage\DoctrineCacheWrapper;
use Kevinrob\GuzzleCache\Storage\DoctrineCacheStorage;
use Kevinrob\GuzzleCache\Storage\FlysystemStorage;
use Kevinrob\GuzzleCache\Strategy\PrivateCacheStrategy;
use League\Flysystem\Adapter\Local;
Expand All @@ -21,10 +21,10 @@ public function testCacheProvider()
$TMP_DIR = __DIR__.'/tmp/';

$cacheProviders = [
new DoctrineCacheWrapper(new ArrayCache()),
new DoctrineCacheWrapper(new ChainCache([new ArrayCache()])),
new DoctrineCacheWrapper(new FilesystemCache($TMP_DIR)),
new DoctrineCacheWrapper(new PhpFileCache($TMP_DIR)),
new DoctrineCacheStorage(new ArrayCache()),
new DoctrineCacheStorage(new ChainCache([new ArrayCache()])),
new DoctrineCacheStorage(new FilesystemCache($TMP_DIR)),
new DoctrineCacheStorage(new PhpFileCache($TMP_DIR)),
new FlysystemStorage(new Local($TMP_DIR)),
];

Expand Down
10 changes: 5 additions & 5 deletions tests/PublicCacheTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
use GuzzleHttp\Promise\FulfilledPromise;
use GuzzleHttp\Psr7\Request;
use GuzzleHttp\Psr7\Response;
use Kevinrob\GuzzleCache\Storage\DoctrineCacheWrapper;
use Kevinrob\GuzzleCache\Storage\DoctrineCacheStorage;
use Kevinrob\GuzzleCache\Storage\FlysystemStorage;
use Kevinrob\GuzzleCache\Strategy\PublicCacheStrategy;
use League\Flysystem\Adapter\Local;
Expand Down Expand Up @@ -88,10 +88,10 @@ public function testCacheProvider()
$TMP_DIR = __DIR__.'/tmp/';

$cacheProviders = [
new DoctrineCacheWrapper(new ArrayCache()),
new DoctrineCacheWrapper(new ChainCache([new ArrayCache()])),
new DoctrineCacheWrapper(new FilesystemCache($TMP_DIR)),
new DoctrineCacheWrapper(new PhpFileCache($TMP_DIR)),
new DoctrineCacheStorage(new ArrayCache()),
new DoctrineCacheStorage(new ChainCache([new ArrayCache()])),
new DoctrineCacheStorage(new FilesystemCache($TMP_DIR)),
new DoctrineCacheStorage(new PhpFileCache($TMP_DIR)),
new FlysystemStorage(new Local($TMP_DIR)),
];

Expand Down

0 comments on commit 1c34347

Please sign in to comment.