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