yii2-workflow Class Reference
  • Namespace
  • Class

Namespaces

  • raoul2000
    • workflow
      • actions
      • base
      • events
      • helpers
      • source
        • file
      • validation

Classes

  • DefaultArrayParser
  • GraphmlLoader
  • MinimalArrayParser
  • PhpArrayLoader
  • PhpClassLoader
  • WorkflowArrayParser
  • WorkflowDefinitionLoader
  • WorkflowFileSource

Interfaces

  • IWorkflowDefinitionProvider

Class WorkflowDefinitionLoader

The WorkflowDefinitionLoader is the base class for all implementations of workflow definition loaders.

yii\base\Object
Extended by raoul2000\workflow\source\file\WorkflowDefinitionLoader

Direct known subclasses

raoul2000\workflow\source\file\GraphmlLoader, raoul2000\workflow\source\file\PhpArrayLoader, raoul2000\workflow\source\file\PhpClassLoader

Abstract
Namespace: raoul2000\workflow\source\file
Located at source/file/WorkflowDefinitionLoader.php

Methods summary

abstract public
# loadDefinition( string $workflowId, IWorkflowSource $source )

Loads the definition of a workflow.

Loads the definition of a workflow.

Parameters

$workflowId
$source
public
# init( )

Initialize the parser component to use.

Initialize the parser component to use.

public
# getParser( )

Returns the instance of the array parser used.

Returns the instance of the array parser used.

Returnworkflowarrayparser

the parser component used by this instance or NULL if no parser has been configured
public array
# parse( string $workflowId, array $wd, raoul2000\workflow\source\file\WorkflowFileSource $source )

Parameters

$workflowId
$wd
$source

Returns

array
The workflow definition

Properties summary

public array|string|object| $parser

The parser component.

The parser component.

# null
yii2-workflow Class Reference API documentation generated by ApiGen