Skip to content
This repository was archived by the owner on Jul 15, 2021. It is now read-only.

Commit b91e857

Browse files
committed
Merge pull request #32 from ajanssen/patch-1
Set ttl in constructor
2 parents c3f5177 + f3761b3 commit b91e857

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/GuzzleHttp/Cache/DoctrineAdapter.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ class DoctrineAdapter implements StorageAdapterInterface
2323
public function __construct(Cache $cache, $ttl = 0)
2424
{
2525
$this->cache = $cache;
26+
$this->ttl = $ttl;
2627
}
2728

2829
public function fetch(RequestInterface $request)

0 commit comments

Comments
 (0)