51Degrees Pipeline PHP  4.1

51Degrees Pipeline for PHP

fiftyone\pipeline\engines\AspectData Class Reference

Detailed Description

aspectData extends elementData by adding the option of a missing property service It also allows properties to be explicitly excluded by a flowElement / engine

Inheritance diagram for fiftyone\pipeline\engines\AspectData:

[legend]

Collaboration diagram for fiftyone\pipeline\engines\AspectData:

[legend]

Public Member Functions

 __construct ($flowElement)
Constructor for element data Adds default missing property service if not available. More...
 get ($key)
Get a value (unless in a flowElement's restrictedProperties list) If property not found, call the attached missing property service. More...

Public Member Functions inherited from fiftyone\pipeline\core\ElementData

 __construct ($flowElement)
Constructor for element data. More...
 get ($key)
Get a value from the ElementData contents This calls the ElementData class' (often overridden) getInternal method. More...
 __get ($key)
 asDictionary ()
Get the values contained in the ElementData instance as a dictionary of keys and values. More...
 getAsString ($key)
Helper method to get property as a string. More...
 getAsFloat ($key)
Helper method to get property as a float. More...
 getAsInteger ($key)
Helper method to get property as a int. More...

Data Fields

 $missingPropertyService

Data Fields inherited from fiftyone\pipeline\core\ElementData

 $flowElement

Constructor & Destructor Documentation

◆ __construct()

fiftyone\pipeline\engines\AspectData::__construct (   $flowElement )

Constructor for element data Adds default missing property service if not available.

Parameters
FlowElement -

Member Function Documentation

◆ get()

fiftyone\pipeline\engines\AspectData::get (   $key )

Get a value (unless in a flowElement's restrictedProperties list) If property not found, call the attached missing property service.

Parameters
string - key
Returns
mixed