public __construct ( Kevinrob\GuzzleCache\Storage\CacheStorageInterface $cache = null ) | ||
$cache | Kevinrob\GuzzleCache\Storage\CacheStorageInterface |
public function __construct(CacheStorageInterface $cache = null, $ttl) { $this->ttl = $ttl; parent::__construct($cache); }
public function __construct(CacheStorageInterface $cache = null) { parent::__construct($cache); array_unshift($this->ageKey, 's-maxage'); }