code: public function setLocalizedText(?string $key, ?array $arguments = null): self
      {
          $this->setLocalizedKey($key);
          $this->setLocalizedArguments($arguments);
  
          return $this;
      }
docs: Convenience to set localized text.