Files
exchange-2.0/app/Classes/Modules/Segments/DataTransferObjects/SegmentObject.php
T
CheeSiong 8b01421be7 -Update Non Standard Segment Logic Class
-Update Non Segment Constant Service Class
-Create Non Standard Segment Constant Logic Class
-Update Non Standard Segment Constant Logic Class
-Delete Non Standard Segment Logic Class
2020-11-17 12:08:10 +08:00

30 lines
519 B
PHP

<?php
namespace App\Classes\Modules\Segments\DataTransferObjects;
use App\Classes\Interfaces\DataTransferObject;
class SegmentObject implements DataTransferObject
{
/** @var string|null */
private $name;
/**
* SegmentObject constructor.
* @param string|null $name
*/
public function __construct(
?string $name
)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName(): ?string
{
return $this->name;
}
}