MessagesEntity
extends Entity
in package
MessagesEntity Class
Tags
Table of Contents
- $data : array<string|int, mixed>
- __construct() : void
- Constructor
- getMessageFrom() : string
- Get the message from
- getMessageId() : string
- Get the message id
- getMessageRead() : string
- Get the message read
- getMessageReceiver() : string
- Get the message receiver
- getMessageSender() : string
- Get the message sender
- getMessageSubject() : string
- Get the message subject
- getMessageText() : string
- Get the message text
- getMessageTime() : string
- Get the message time
- getMessageType() : string
- Get the message type
- setData() : void
- Set the current data
Properties
$data
protected
array<string|int, mixed>
$data
= []
Methods
__construct()
Constructor
public
__construct(array<string|int, mixed> $data) : void
Parameters
- $data : array<string|int, mixed>
-
Data
Return values
void —getMessageFrom()
Get the message from
public
getMessageFrom() : string
Return values
string —getMessageId()
Get the message id
public
getMessageId() : string
Return values
string —getMessageRead()
Get the message read
public
getMessageRead() : string
Return values
string —getMessageReceiver()
Get the message receiver
public
getMessageReceiver() : string
Return values
string —getMessageSender()
Get the message sender
public
getMessageSender() : string
Return values
string —getMessageSubject()
Get the message subject
public
getMessageSubject() : string
Return values
string —getMessageText()
Get the message text
public
getMessageText() : string
Return values
string —getMessageTime()
Get the message time
public
getMessageTime() : string
Return values
string —getMessageType()
Get the message type
public
getMessageType() : string
Return values
string —setData()
Set the current data
private
setData(array<string|int, mixed> $data) : void
Parameters
- $data : array<string|int, mixed>
-
data