src/Command/SignalExecutionCommand.php
public function execute(EngineInterface $engine)
    {
        $execution = $engine->findExecution(new UUID($this->executionId));
        $node = $execution->getNode();
        
        $vars = unserialize($this->variables);
        $delegation = unserialize($this->delegation);
        
        $execution->wakeUp();
        
        $engine->debug('Signaling <{signal}> to {execution}', [
            'signal' => ($this->signal === null) ? 'null' : $this->signal,
            'execution' => (string) $execution
        ]);
        
        $engine->notify(new SignalNodeEvent($node, $execution, $this->signal, $vars, $delegation));
        
        $this->singalExecution($node, $execution, $vars, $delegation);
    }
public function execute(EngineInterface $engine)
    {
        $execution = $engine->findExecution(new UUID($this->executionId));
        $node = $execution->getNode();
        
        $vars = unserialize($this->variables);
        $delegation = unserialize($this->delegation);
        
        $execution->wakeUp();
        
        $engine->debug('Signaling <{signal}> to {execution}', [
            'signal' => ($this->signal === null) ? 'null' : $this->signal,
            'execution' => (string) $execution
        ]);
        
        $engine->notify(new SignalNodeEvent($node, $execution, $this->signal, $vars, $delegation));
        
        $this->singalExecution($node, $execution, $vars, $delegation);
    }
{@inheritdoc}