type = self::TYPE; $this->recipient = $recipient; $this->name = $name; $this->arg1 = $name; } public function getSubject(): string { return "$this->name article has been re-created"; } public function getBody(array $config): string { $base_path = $config["server"]["base_path"]; return "The Wikipedia article about $this->name has been re-created. " . "Death Notifier will once again track the article and notify you if $this->name dies." . "\n\n" . "You are receiving this message because of the preferences in your Death Notifier account. " . "To unsubscribe from these messages, go to the Death Notifier website, log in, and change your email " . "preferences." . "\n\n" . $base_path; } }