driver method

CacheStore driver([
  1. String? driver
])

Get a cache driver instance.

driver The name of the driver to retrieve. If null, uses default config.

Implementation

CacheStore driver([String? driver]) {
  // If specific driver requested, resolve it
  // For now we primarily support the default one from config
  return _resolve(driver);
}