PHP Class raoul2000\workflow\source\file\WorkflowDefinitionLoader

Inheritance: extends yii\base\Object
Show file Open project: raoul2000/yii2-workflow

Public Properties

Property Type Description
$parser array | string | object | false The parser component.

Public Methods

Method Description
getParser ( ) Returns the instance of the array parser used.
init ( ) Initialize the parser component to use.
loadDefinition ( string $workflowId, IWorkflowSource $source ) Loads the definition of a workflow.
parse ( string $workflowId, array $wd, WorkflowFileSource $source ) : array

Method Details

getParser() public method

Returns the instance of the array parser used.
public getParser ( )

init() public method

Initialize the parser component to use.
public init ( )

loadDefinition() abstract public method

Loads the definition of a workflow.
abstract public loadDefinition ( string $workflowId, IWorkflowSource $source )
$workflowId string
$source IWorkflowSource

parse() public method

public parse ( string $workflowId, array $wd, WorkflowFileSource $source ) : array
$workflowId string
$wd array
$source WorkflowFileSource
return array The workflow definition

Property Details

$parser public property

The parser component.
public array|string|object|false $parser
return array | string | object | false