DefinitionBuilder
class DefinitionBuilder
Methods
Details
__construct(array $places = array(), array $transitions = array())
Parameters
array | $places | |
array | $transitions | |
Return Value
$this
clear()
Clear all data in the builder.
Return Value
$this
setInitialPlace(string $place)
Parameters
Return Value
$this
addPlace(string $place)
Parameters
Return Value
$this
addPlaces(array $places)
Parameters
Return Value
$this
addTransitions(array $transitions)
Parameters
Return Value
$this
addTransition(Transition $transition)
Parameters
Return Value
Parameters
Return Value
$this
reset()
deprecated
deprecated
since | Symfony 4.1, use the clear() method instead. |
Return Value