raoul2000\workflow\source\file\GraphmlLoader::loadDefinition PHP Method

loadDefinition() public method

Loads the definition of the workflow whose id is passed as argument.
public loadDefinition ( string $workflowId, IWorkflowSource $source ) : array
$workflowId string
$source IWorkflowSource the workflow source component
return array the workflow definition
    public function loadDefinition($workflowId, $source)
    {
        $wd = $this->convert($this->createFilename($workflowId));
        return $this->parse($workflowId, $wd, $source);
    }