refactoring
This commit is contained in:
@@ -12,13 +12,17 @@ class Article
|
||||
private $content;
|
||||
private $author;
|
||||
private $date;
|
||||
private $category;
|
||||
|
||||
/**
|
||||
* @param $id integer ID des Beitrages
|
||||
* @param $title
|
||||
* @param $content
|
||||
* @param $author
|
||||
* @param $title string Titel des Beitrags
|
||||
* @param $content string Inhalt des Beitrags
|
||||
* @param $author string der Autor des des Beitrages NID
|
||||
* @param $category string Kategorie des Beitrages
|
||||
* @param $date
|
||||
* @param $tags string[] optionale Schlagworte für eine bessere Suche
|
||||
*
|
||||
*/
|
||||
public function __construct($id, $title, $content, $author, $date)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user