final class CacheConfig (View source)

Carries the resolved default cache store and its backend-specific settings.

Methods

__construct(string $defaultStore, CacheFileStoreConfig $fileStore)

Captures immutable cache configuration consumed by cache service wiring.

string

Returns the store selected for the generic cache pool binding.

string

Returns the resolved file-backed store settings.

Details

__construct

__construct(string $defaultStore, CacheFileStoreConfig $fileStore)

Captures immutable cache configuration consumed by cache service wiring.

Parameters

string $defaultStore
CacheFileStoreConfig $fileStore

defaultStore

string defaultStore()

Returns the store selected for the generic cache pool binding.

Return Value

string

fileStore

Returns the resolved file-backed store settings.

Return Value

CacheFileStoreConfig