Spec-Zone.ru › Symfony 4.1

PlantUmlDumper

class PlantUmlDumper implements DumperInterface

PlantUmlDumper выводит поток работы в виде файла PlantUML.

Вы можете преобразовать сгенерированный файл puml с помощью утилиты plantuml.jar (http://plantuml.com/):

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

Постоянные значения

INITIAL
MARKED
STATEMACHINE_TRANSITION
WORKFLOW_TRANSITION
TRANSITION_TYPES
DEFAULT_OPTIONS

Методы

__construct(string $transitionType = null)
string dump(Definition $definition, Marking $marking = null, array $options = array())

Выводит определение потока работы.

Подробности

__construct(string $transitionType = null)

Параметры

string $transitionType

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

Выводит определение потока работы.

Параметры

Definition $definition Экземпляр Definition
Marking $marking Экземпляр Marking
array $options Массив параметров

Возвращаемое значение

string Представление потока работы

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Workflow/Dumper/PlantUmlDumper.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API