interface QueryCacheValidator (View source)

Cache query validator interface.

Methods

bool
isValid(QueryCacheKey $key, QueryCacheEntry $entry)

Checks if the query entry is valid

Details

bool isValid(QueryCacheKey $key, QueryCacheEntry $entry)

Checks if the query entry is valid

Parameters

QueryCacheKey $key
QueryCacheEntry $entry

Return Value

bool