\r\n

51Degrees Pipeline PHP  4.4

51Degrees Pipeline for PHP

fiftyone\pipeline\engines\DataKeyedCache Class Reference

Detailed Description

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.

Inheritance diagram for fiftyone\pipeline\engines\DataKeyedCache:

[legend]

Public Member Functions

 get ($cacheKey)
Get an item from the cache. More...
 set ($cacheKey, $value)
Add a value to the cache This method needs to be implemented in a subclass to work. More...

Member Function Documentation

◆ 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

◆ set()

fiftyone\pipeline\engines\DataKeyedCache::set (   $cacheKey,
  $value  
)

Add a value to the cache This method needs to be implemented in a subclass to work.

Parameters
string|array<string,mixed> - $cacheKey
mixed
$value -