public function handle(MessageReceived $message): void
    {
        $context = context();

        if ($context->getInteraction() instanceof $this) {
            $this->process($message);
        } else {
            $context->setInteraction($this);
            $this->run($message);
        }
    }
public function handle(MessageReceived $message): void
    {
        $context = context();

        if ($context->getInteraction() instanceof $this) {
            $this->process($message);
        } else {
            $context->setInteraction($this);
            $this->run($message);
        }
    }
public function handle ( MessageReceived $ message ) : void { $ context = context ( ) ; if ( $ context -> getInteraction ( ) instanceof $ this ) { $ this -> process ( $ message ) ; } else { $ context -> setInteraction ( $ this ) ; $ this -> run ( $ message ) ; } }
Handle interaction.

@param MessageReceived $message
Handle interaction .