Retrieve data from the search cache.
protected _getSearchCache ( string $type, array $options ) : mixed | ||
$type | string | The cache type ('search' or 'thread'). |
$options | array | The options array of the calling function. |
return | mixed | Returns search cache metadata. If search was retrieved, data is in key 'data'. Returns null if caching is not available. |