mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/shipping-portal.git
synced 2026-08-19 04:24:12 +00:00
34 lines
662 B
PHP
34 lines
662 B
PHP
<?php
|
|
|
|
namespace App\Classes\Modules\Accounts\DataTransferObjects;
|
|
|
|
use App\Classes\General\Interfaces\DataTransferObject;
|
|
|
|
class FullnameObject implements DataTransferObject
|
|
{
|
|
/** @var string */
|
|
private $name;
|
|
|
|
/**
|
|
* UserObject constructor.
|
|
* @param string $name
|
|
* @param string $email
|
|
* @param string $password
|
|
* @param string $passwordConfirmation
|
|
* @param int|null $type
|
|
* @param int|null $status
|
|
*/
|
|
public function __construct(string $name)
|
|
{
|
|
$this->name = $name;
|
|
}
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getName(): string
|
|
{
|
|
return $this->name;
|
|
}
|
|
}
|