\r\n

51Degrees Pipeline PHP  4.4

51Degrees Pipeline for PHP

fiftyone\pipeline\core\EvidenceKeyFilter Class Reference

Detailed Description

An evidence key filter is added to a FlowElement It tells the Pipeline which evidence it is interested in This can be used to determine whether a request can be cached Or to filter out evidence not needed by any element in a Pipeline This base class is always extended for a specific filter type.

Inheritance diagram for fiftyone\pipeline\core\EvidenceKeyFilter:

[legend]

Public Member Functions

 filterEvidence ($evidenceKeyObject)
filterevidence from an object More...
 filterEvidenceKey ($key)
see if a property key should be in the filtered evidence More...
 __set ($name, $value)

Member Function Documentation

◆ filterEvidence()

fiftyone\pipeline\core\EvidenceKeyFilter::filterEvidence (   $evidenceKeyObject )

filterevidence from an object

Parameters
mixed[] - evidence dicitonary contents
Returns
mixed[] filtered evidence dictionary contents

◆ filterEvidenceKey()

fiftyone\pipeline\core\EvidenceKeyFilter::filterEvidenceKey (   $key )

see if a property key should be in the filtered evidence

Parameters
string - property name
Returns
boolean should this be filtered out or not?