src/Mcfedr/AwsPushBundle/Service/Topics.php
public function broadcast(Message $message, string $topicArn)
    {
        if ($this->debug) {
            $this->logger && $this->logger->notice(
                "Message would have been sent to $topicArn",
                [
                    'Message' => $message,
                ]
            );

            return;
        }

        $this->messages->send($message, $topicArn);
    }
public function broadcast(Message $message, string $topicArn)
    {
        if ($this->debug) {
            $this->logger && $this->logger->notice(
                "Message would have been sent to $topicArn",
                [
                    'Message' => $message,
                ]
            );

            return;
        }

        $this->messages->send($message, $topicArn);
    }
Send a message to all topics in the group.

@param Message $message
@param string  $topicArn

@deprecated Use Messages send method and pass the topicArn as the destination
@see Messages::send