class Cacheable

Methods

__construct(int $ttlMs = 0, CacheScope $scope = CacheScope::Private)

Create cache settings for a resource.

array
toArray()

Convert the cache settings to protocol hints.

Details

at line 16
__construct(int $ttlMs = 0, CacheScope $scope = CacheScope::Private)

Create cache settings for a resource.

Parameters

int $ttlMs
CacheScope $scope

at line 27
array toArray()

Convert the cache settings to protocol hints.

Return Value

array