Skip to content

HasCacheOptions

Methods

getCacheExpiry

In how many seconds from now should this cache item expire.

public getCacheExpiry(): int|null

Return null to use the default value specified in the CachingDecorator.


getCacheKey

The cache key used when caching this object. Return null to automatically generate a cache key.

public getCacheKey(): string|null


Automatically generated on 2025-10-13