message; } /** * {@inheritdoc} */ public function setMessage($message) { $this->message = $message; return $this; } /** * {@inheritdoc} */ public function getRecipients() { return $this->recipients; } /** * {@inheritdoc} */ public function setRecipients($recipients) { $this->recipients = $recipients; return $this; } /** * {@inheritdoc} */ public function getRedirectPath() { return $this->redirect; } /** * {@inheritdoc} */ public function getRedirectUrl() { if ($this->redirect) { $url = Url::fromUserInput($this->redirect); } else { $url = Url::fromRoute(''); } return $url; } /** * {@inheritdoc} */ public function setRedirectPath($redirect) { $this->redirect = $redirect; return $this; } /** * {@inheritdoc} */ public function getReply() { return $this->reply; } /** * {@inheritdoc} */ public function setReply($reply) { $this->reply = $reply; return $this; } /** * {@inheritdoc} */ public function getWeight() { return $this->weight; } /** * {@inheritdoc} */ public function setWeight($weight) { $this->weight = $weight; return $this; } }