51Degrees Pipeline for PHP

fiftyone\pipeline\engines\Tracker Class Reference

Detailed Description

The tracker class extends the cache class with a track method that checks if a key is in the cache and runs a match method on the result if it is found in the cache.

Inheritance diagram for fiftyone\pipeline\engines\Tracker:

[legend]

Collaboration diagram for fiftyone\pipeline\engines\Tracker:

[legend]

Public Member Functions

 track ($key)
 match ($result)

Public Member Functions inherited from fiftyone\pipeline\engines\DataKeyedCache

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

Member Function Documentation

◆ match()

fiftyone\pipeline\engines\Tracker::match ( $result)
Parameters
mixed$result

◆ track()

fiftyone\pipeline\engines\Tracker::track ( $key)
Parameters
string|array<string>$key