mirror of
https://github.com/Karaka-Management/oms-Comments.git
synced 2026-01-13 17:18:42 +00:00
50 lines
799 B
PHP
50 lines
799 B
PHP
<?php
|
|
/**
|
|
* Orange Management
|
|
*
|
|
* PHP Version 7.2
|
|
*
|
|
* @package TBD
|
|
* @copyright Dennis Eichhorn
|
|
* @license OMS License 1.0
|
|
* @version 1.0.0
|
|
* @link http://website.orange-management.de
|
|
*/
|
|
declare(strict_types=1);
|
|
|
|
namespace Modules\Comments\Models;
|
|
|
|
/**
|
|
* Task class.
|
|
*
|
|
* @package Comments
|
|
* @license OMS License 1.0
|
|
* @link http://website.orange-management.de
|
|
* @since 1.0.0
|
|
*/
|
|
class CommentList
|
|
{
|
|
private $id = 0;
|
|
|
|
private $comments = [];
|
|
|
|
public function __construct()
|
|
{
|
|
}
|
|
|
|
public function getId() : int
|
|
{
|
|
return $this->id;
|
|
}
|
|
|
|
public function getComments() : array
|
|
{
|
|
return $this->comments;
|
|
}
|
|
|
|
public function addComment($comment)
|
|
{
|
|
$this->comments[] = $comment;
|
|
}
|
|
}
|