51Degrees Pipeline PHP  4.1

51Degrees Pipeline for PHP

fiftyone\pipeline\core\Pipeline Class Reference

Detailed Description

Pipeline holding a list of FlowElements for processing, can create FlowData that will be passed through these, collecting ElementData Should be constructed through the PipelineBuilder class.

Public Member Functions

 __construct ($flowElements, $settings)
Pipeline constructor. More...
 createFlowData ()
Create a FlowData based on what's in the Pipeline. More...
 log ($level, $message)
 getElement ($key)
Get a FlowElement by its name. More...
 updatePropertyDatabaseForFlowElement ($flowElement)
Update metadata store for a FlowElement based on its list of properties. More...

Data Fields

 $flowElements
 $flowElementsList = array()
 $logger
 $metaDataStore

Constructor & Destructor Documentation

◆ __construct()

fiftyone\pipeline\core\Pipeline::__construct (   $flowElements,
  $settings  
)

Pipeline constructor.

Parameters
FlowElement[] - list of FlowElements
array - settings array

Member Function Documentation

◆ getElement()

fiftyone\pipeline\core\Pipeline::getElement (   $key )

Get a FlowElement by its name.

Parameters
string - name
Returns
FlowElement

◆ updatePropertyDatabaseForFlowElement()

fiftyone\pipeline\core\Pipeline::updatePropertyDatabaseForFlowElement (   $flowElement )

Update metadata store for a FlowElement based on its list of properties.

Parameters
FlowElement -