Antwortmöglichkeit

This commit is contained in:
2026-06-15 22:32:00 +02:00
parent f13a2c6f1e
commit 6f6e53a483
6 changed files with 213 additions and 29 deletions
+7 -2
View File
@@ -15,16 +15,21 @@ interface CommentManagerDAO
/**
* Speichert einen neuen Kommentar zu einem Beitrag.
*
* Optional kann eine parentCommentId übergeben werden,
* wenn der Kommentar eine Antwort auf einen anderen Kommentar ist.
*
* @param int $articleId ID des Beitrags
* @param string $author Autor des Kommentars
* @param string $content Inhalt des Kommentars
* @param int|null $parentCommentId ID des Eltern-Kommentars oder null
*
* @return void
*/
public function addComment(
$articleId,
$author,
$content
$content,
$parentCommentId = null
);
/**
@@ -37,4 +42,4 @@ interface CommentManagerDAO
public function getCommentsByArticle(
$articleId
);
}
}