Exemplo n.º 1
0
 /**
  * {@inheritdoc}
  */
 public function processSignal(VirtualExecution $execution, $signal, array $variables = [], array $delegation = [])
 {
     if ($signal !== $this->signal) {
         throw new \RuntimeException(sprintf('Boundary event awaits signal "%s", unable to process signal "%s"', $this->signal, $signal));
     }
     $this->passVariablesToExecution($execution, $variables);
     parent::processSignal($execution, $signal, $variables);
 }
Exemplo n.º 2
0
 public function __construct($activityId, $attachedTo, $startNodeId)
 {
     parent::__construct($activityId, $attachedTo);
     $this->startNodeId = (string) $startNodeId;
 }