public function __construct(CacheStorageInterface $cache = null) { $this->storage = $cache !== null ? $cache : new VolatileRuntimeStorage(); }
public function __construct(CacheStorageInterface $cache = null, $ttl) { $this->ttl = $ttl; parent::__construct($cache); }