◆ get()
| fiftyone\pipeline\engines\DataKeyedCache::get | ( | $cacheKey | ) |
Get an item from the cache.
This method needs to be implemented in a subclass to work.
- Parameters
-
- string|array<string,mixed> - $cacheKey
- Returns
- mixed
\r\n
A simple cache class which has a get and set method Can be added to an engine to cache its results for specific evidence This base class needs to be extended to form an actual cache.
| fiftyone\pipeline\engines\DataKeyedCache::get | ( | $cacheKey | ) |
Get an item from the cache.
This method needs to be implemented in a subclass to work.
| fiftyone\pipeline\engines\DataKeyedCache::set | ( | $cacheKey, | |
| $value | |||
| ) |
Add a value to the cache This method needs to be implemented in a subclass to work.