mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 20:43:56 +00:00
39 lines
680 B
PHP
39 lines
680 B
PHP
<?php
|
|
|
|
namespace App\Classes\Modules\Remarks\DataTransferObjects;
|
|
|
|
use App\Classes\General\Interfaces\DataTransferObject;
|
|
|
|
class RemarkObject implements DataTransferObject
|
|
{
|
|
|
|
/** @var int */
|
|
private $commenterID;
|
|
|
|
/** @var string*/
|
|
private $content;
|
|
|
|
public function __construct(string $content, int $commenterID)
|
|
{
|
|
$this->commenterID = $commenterID;
|
|
$this->content = $content;
|
|
}
|
|
|
|
/**
|
|
* @return int
|
|
*/
|
|
public function getCommenterId(): string
|
|
{
|
|
return $this->commenterID;
|
|
}
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getContent(): ?string
|
|
{
|
|
return $this->content;
|
|
}
|
|
|
|
}
|