raoul2000\workflow\source\file\PhpArrayLoader::loadDefinition PHP Метод

loadDefinition() публичный Метод

If a parser has been configured, it is used to converte the array structure defined in the file, into the format expected by the WorkflowFileSource class.
public loadDefinition ( string $workflowId, WorkflowFileSource $source ) : array
$workflowId string
$source WorkflowFileSource
Результат array the workflow definition
    public function loadDefinition($workflowId, $source)
    {
        $wd = (require_once $this->createFilename($workflowId));
        return $this->parse($workflowId, $wd, $source);
    }