51Degrees Pipeline for PHP

fiftyone\pipeline\engines\AspectDataDictionary Class Reference

Detailed Description

AspectData class extension that stores content as an array Similar to ElementDataDictionary in the Pipeline core library.

Inheritance diagram for fiftyone\pipeline\engines\AspectDataDictionary:

[legend]

Collaboration diagram for fiftyone\pipeline\engines\AspectDataDictionary:

[legend]

Public Member Functions

 __construct (Engine $flowElement, array $contents)
 Constructor for element data dictionary.
 asDictionary ()
 Get the values contained in the aspectData instance as a dictionary of keys and values.
 getInternal (string $key)
 Internal getter for contents.

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

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

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

 __construct (FlowElement $flowElement)
 __get (string $key)
 getAsString (string $key)
 Helper method to get property as a string.
 getAsFloat (string $key)
 Helper method to get property as a float.
 getAsInteger (string $key)
 Helper method to get property as an int.

Additional Inherited Members

Data Fields inherited from fiftyone\pipeline\engines\AspectData

MissingPropertyService $missingPropertyService = null

Data Fields inherited from fiftyone\pipeline\core\ElementData

FlowElement $flowElement

Constructor & Destructor Documentation

◆ __construct()

fiftyone\pipeline\engines\AspectDataDictionary::__construct ( Engine $flowElement,
array $contents )

Constructor for element data dictionary.

Parameters
array<string,mixed>$contents Dictionary contents

Member Function Documentation

◆ asDictionary()

fiftyone\pipeline\engines\AspectDataDictionary::asDictionary ( )

Get the values contained in the aspectData instance as a dictionary of keys and values.

Returns
array<string, mixed>

Reimplemented from fiftyone\pipeline\core\ElementData.

◆ getInternal()

fiftyone\pipeline\engines\AspectDataDictionary::getInternal ( string $key)

Internal getter for contents.

Returns
mixed

Reimplemented from fiftyone\pipeline\core\ElementData.