Sort of working beta

This commit is contained in:
2025-02-06 17:30:45 +01:00
parent 5f42c707eb
commit 2ef114e154
97 changed files with 3093 additions and 106 deletions

View File

@ -0,0 +1,32 @@
<?php
namespace App\Notification\NotificationBody;
use App\Notification\NotificationBody;
use App\Notification\Stringifiable;
class SimpleNotificationBody extends NotificationBody {
private string $body;
public function __construct(string $body) {
$this->body = $body;
}
/**
* @inheritDoc
*/
public function toMarkdownString(): string {
return $this->body;
}
public function toHTMLString(): string {
return $this->body;
}
/**
* @inheritDoc
*/
public function toString(): string {
return $this->body;
}
}