src/Mcfedr/AwsPushBundle/Message/Message.php
public function setLocalizedText(?string $key, ?array $arguments = null): self
    {
        $this->setLocalizedKey($key);
        $this->setLocalizedArguments($arguments);

        return $this;
    }
public function setLocalizedText(?string $key, ?array $arguments = null): self
    {
        $this->setLocalizedKey($key);
        $this->setLocalizedArguments($arguments);

        return $this;
    }
Convenience to set localized text.