Update Article.php

This commit is contained in:
2026-07-17 17:59:17 +02:00
parent 8f8b25249c
commit 2ec1b70c91
+10
View File
@@ -97,6 +97,16 @@ class Article
return $this->author;
}
/**
* Setzt einen neuen Autor eines Beitrages.
* @param string $author
* @return void
*/
public function setAuthor(string $author)
{
$this->author = $author;
}
/**
* Gibt das Veröffentlichungsdatum des Beitrags zurück.
* @return string