public function ExpiringCache::__construct

File

drupal/core/vendor/kriswallsmith/assetic/src/Assetic/Cache/ExpiringCache.php, line 24

Class

ExpiringCache
Adds expiration to a cache backend.

Namespace

Assetic\Cache

Code

public function __construct(CacheInterface $cache, $lifetime) {
  $this->cache = $cache;
  $this->lifetime = $lifetime;
}