ChatMessage
in package
implements
MessageInterface
FinalYes
Tags
Table of Contents
Interfaces
Properties
- $notification : mixed
- $options : mixed
- $subject : string
- $transport : string|null
Methods
- __construct() : mixed
- fromNotification() : self
- getNotification() : Notification|null
- getOptions() : MessageOptionsInterface|null
- getRecipientId() : string|null
- getSubject() : string
- getTransport() : string|null
- options() : $this
- subject() : $this
- transport() : $this
Properties
$notification
private
mixed
$notification
= null
$options
private
mixed
$options
$subject
private
string
$subject
$transport
private
string|null
$transport
= null
Methods
__construct()
public
__construct(string $subject[, MessageOptionsInterface $options = null ]) : mixed
Parameters
- $subject : string
- $options : MessageOptionsInterface = null
fromNotification()
public
static fromNotification(Notification $notification) : self
Parameters
- $notification : Notification
Return values
selfgetNotification()
public
getNotification() : Notification|null
Return values
Notification|nullgetOptions()
public
getOptions() : MessageOptionsInterface|null
Return values
MessageOptionsInterface|nullgetRecipientId()
public
getRecipientId() : string|null
Return values
string|nullgetSubject()
public
getSubject() : string
Return values
stringgetTransport()
public
getTransport() : string|null
Return values
string|nulloptions()
public
options(MessageOptionsInterface $options) : $this
Parameters
- $options : MessageOptionsInterface
Return values
$thissubject()
public
subject(string $subject) : $this
Parameters
- $subject : string
Return values
$thistransport()
public
transport(string|null $transport) : $this
Parameters
- $transport : string|null