W3cubDocs

/Symfony 4.1

WorkflowValidator

class WorkflowValidator implements DefinitionValidatorInterface

Methods

__construct(bool $singlePlace = false)
validate(Definition $definition, string $name)

Details

__construct(bool $singlePlace = false)

Parameters

bool $singlePlace

validate(Definition $definition, string $name)

Parameters

Definition $definition
string $name

Exceptions

InvalidDefinitionException on invalid definition

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