diff --git a/Controller/ApiController.php b/Controller/ApiController.php new file mode 100644 index 0000000..523c306 --- /dev/null +++ b/Controller/ApiController.php @@ -0,0 +1,28 @@ +createdAt = new \DateTime('now'); } - public function setType(int $type) : void - { - $this->type = $type; - } - public function getType() : int { return $this->type; } - public function setSubType(int $subtype) : void - { - $this->subtype = $subtype; - } - public function getSubType() : int { return $this->subtype; } - public function setModule(int $module) : void - { - $this->module = $module; - } - public function getModule() : int { return $this->module; } - public function setRef(string $ref) : void - { - $this->ref = $ref; - } - public function getRef() : string { return $this->ref; } - public function setContent(string $content) : void - { - $this->content = $content; - } - public function getContent() : string { return $this->content; } - public function setOld(string $old) : void - { - $this->old = $old; - } - public function getOld() : string { return $this->old; } - public function setNew(string $new) : void - { - $this->new = $new; - } - public function getNew() : string { return $this->new; } - public function setCreatedBy($createdBy) : void - { - $this->createdBy = $createdBy; - } - public function getCreatedBy() { return $this->createdBy; diff --git a/Models/AuditMapper.php b/Models/AuditMapper.php index ef03b05..a3a86b6 100644 --- a/Models/AuditMapper.php +++ b/Models/AuditMapper.php @@ -28,7 +28,7 @@ use phpOMS\DataStorage\Database\RelationType; * @link http://website.orange-management.de * @since 1.0.0 */ -class AuditMapper extends DataMapperAbstract +final class AuditMapper extends DataMapperAbstract { /**