◆ __construct()
fiftyone\pipeline\core\PipelineBuilder::__construct | ( | array | $settings = []
| ) |
- Parameters
-
- array<string,mixed> - $settings
\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.
__construct (array $settings=[]) |
fiftyone\pipeline\core\PipelineBuilder::__construct | ( | array | $settings = []
| ) |
fiftyone\pipeline\core\PipelineBuilder::add | ( | FlowElement | $flowElement | ) |
Add FlowElement to be used in Pipeline.
fiftyone\pipeline\core\PipelineBuilder::buildFromConfig | ( | $fileOrConfig | ) |
Build from a JSON configuration file This JSON file should have the following structure: `{ "PipelineOptions": { "Elements": [ { "BuilderName": // Name of element as in use statement, "BuildParameters": { // An object of parameters passed to the constructor } }] }`.
@phpstan-var \fiftyone\pipeline\core\FlowElement $builder