class WorkflowDefinitionImporter (View source)

Workflow definition import-specific logic.

WorkflowDefinitionExporter.

Methods

public
getImportedWorkflows($name = null)

Generates an array of WorkflowTemplate Objects of all uploaded workflows.

public
array
parseYAMLImport(string $source)

Handles finding and parsing YAML input as a string or from the contents of a file.

Details

WorkflowTemplate|WorkflowTemplate[] getImportedWorkflows($name = null)

Generates an array of WorkflowTemplate Objects of all uploaded workflows.

Parameters

$name

Return Value

WorkflowTemplate|WorkflowTemplate[]

array parseYAMLImport(string $source)

Handles finding and parsing YAML input as a string or from the contents of a file.

Parameters

string $source

YAML as a string or a filename

Return Value

array

See also

addYAMLConfigFile() on {@link SS_ConfigManifest} from where this logic was taken and adapted.