◆ __construct()
fiftyone\pipeline\core\ElementDataDictionary::__construct | ( | FlowElement | $flowElement, |
array | $contents | ||
) |
Constructor for element data dictionary.
- Parameters
-
- array<string,mixed> - $contents Dictionary contents
\r\n
An extension of ElementData with dictionary object storage / lookup.
__construct (FlowElement $flowElement, array $contents)
Constructor for element data dictionary. More...
| |
asDictionary ()
Get the values contained in the ElementData instance as a dictionary of keys and values. More...
| |
getInternal (string $key)
Internal getter for contents. More...
| |
Public Member Functions inherited from fiftyone\pipeline\core\ElementData | |
__construct (FlowElement $flowElement) |
fiftyone\pipeline\core\ElementDataDictionary::__construct | ( | FlowElement | $flowElement, |
array | $contents | ||
) |
Constructor for element data dictionary.
fiftyone\pipeline\core\ElementDataDictionary::asDictionary | ( | ) |
Get the values contained in the ElementData instance as a dictionary of keys and values.
fiftyone\pipeline\core\ElementDataDictionary::getInternal | ( | string | $key | ) |
Internal getter for contents.