Back to WorkflowTransitionEvent class

Method setStopTransition

public void
setStopTransition
(mixed $value = true)
Set used parameter to true
Parameters
  • bool $value The value to set
Returns
  • void
Since
  • 4.0.0

Method setStopTransition - Source code

/**
 * Set used parameter to true
 *
 * @param   bool  $value  The value to set
 *
 * @return void
 *
 * @since   4.0.0
 */
public function setStopTransition($value = true)
{
    $this->arguments['stopTransition'] = $value;
    if ($value === true) {
        $this->stopPropagation();
    }
}