◆ add()
fiftyone\pipeline\core\PipelineBuilder::add | ( | $flowElement | ) |
Add FlowElement to be used in Pipeline.
- Parameters
-
- FlowElement -
\r\n
A PipelineBuilder generates a Pipeline object Before construction of the Pipeline, FlowElements are added to it There are also options for how JavaScript is output from the Pipeline.
$flowElements = array()
array of FlowElements
| |
$settings = array() |
fiftyone\pipeline\core\PipelineBuilder::add | ( | $flowElement | ) |
Add FlowElement to be used in Pipeline.
fiftyone\pipeline\core\PipelineBuilder::addLogger | ( | $logger | ) |
fiftyone\pipeline\core\PipelineBuilder::buildFromConfig | ( | $fileOrConfig | ) |
Build from a JSON configuration file This JSON file should look like the following `{ "PipelineOptions": { "Elements": [ { "BuilderName": // Name of element as in use statement, "BuildParameters": { // An object of parameters passed to the constructor } }] }`.