PHP Class raoul2000\workflow\source\file\WorkflowDefinitionLoader

Inheritance: extends yii\base\Object
Afficher le fichier Open project: raoul2000/yii2-workflow

Méthodes publiques

Свойство Type Description
$parser array | string | object | false The parser component.

Méthodes publiques

Méthode 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 méthode

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

init() public méthode

Initialize the parser component to use.
public init ( )

loadDefinition() abstract public méthode

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

parse() public méthode

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

Property Details

$parser public_oe property

The parser component.
public array|string|object|false $parser
Résultat array | string | object | false