add setters & getters for TwingleProject class

This commit is contained in:
Marc Michalsky forumZFD 2020-09-28 14:14:59 +02:00
parent f54f3bf262
commit b633c8d887
Signed by untrusted user who does not match committer: marc.koch
GPG key ID: 12406554CFB028B9

View file

@ -138,5 +138,49 @@ class TwingleProject {
}
/**
* @return mixed
*/
public function getId() {
return $this->id;
}
/**
* @param mixed $id
*/
public function setId($id): void {
$this->id = $id;
}
/**
* @return mixed
*/
public function getProjectId() {
return $this->project_id;
}
/**
* @param mixed $project_id
*/
public function setProjectId($project_id): void {
$this->project_id = $project_id;
}
/**
* @return mixed
*/
public function getTimestamp() {
return $this->timestamp;
}
/**
* @param mixed $timestamp
*/
public function setTimestamp($timestamp): void {
$this->timestamp = $timestamp;
}
}