$ticket_id
$ticket_id : int
The ticket that this message is associated with.
Each message is tied to a ticket. It has a sender, and a group, and regular message components. Also one or more files can be attached to a message.
get_persist_actor() : \CGClientTickets\Actor\PersistActor
Get the object that has the responsibility of saving this object.
set_persist_actor(\CGClientTickets\Actor\PersistActor $actor)
Set the object that has responsibility of saving and reading this object from a persistent store.
| \CGClientTickets\Actor\PersistActor | $actor |
set_notify_actor(\CGClientTickets\Actor\NotifyActor $actor) : \CGClientTickets\Actor\NotifyActor
Set the object that has responsibility for sending notifications related to this message.
| \CGClientTickets\Actor\NotifyActor | $actor |
$actor
load_by_id(int $id) : \CGClientTickets\message
Load a message with the specified id.
This utilizes the persist actor.
| int | $id | The message id. |