class PlantUmlDumper implements DumperInterface

PlantUmlDumper dumps a workflow as a PlantUML file.

You can convert the generated puml file with the plantuml.jar utility (http://plantuml.com/):

php bin/console workflow:dump pull_request travis --dump-format=puml | java -jar plantuml.jar -p > workflow.png

Constants

INITIAL

MARKED

STATEMACHINE_TRANSITION

WORKFLOW_TRANSITION

TRANSITION_TYPES

DEFAULT_OPTIONS

Methods

__construct(string $transitionType = null)

No description

string
dump(Definition $definition, Marking $marking = null, array $options = [])

Dumps a workflow definition.

Details

at line 55
__construct(string $transitionType = null)

Parameters

string $transitionType

at line 63
string dump(Definition $definition, Marking $marking = null, array $options = [])

Dumps a workflow definition.

Parameters

Definition $definition A Definition instance
Marking $marking A Marking instance
array $options An array of options

Return Value

string The representation of the workflow