server = $server; } /** * {@inheritdoc} */ public function getSubject() { if (!$this->server) { throw new LogicException('You must set server before calling getSubject'); } return $this->app->trans('task::ftp:Status about your FTP transfert from %application% to %server%', [ '%application%' => $this->getPhraseanetTitle(), '%server%' => $this->server, ]); } /** * {@inheritdoc} */ public function getMessage() { return $this->message; } /** * {@inheritdoc} */ public function getButtonText() { } /** * {@inheritdoc} */ public function getButtonURL() { } }