PushMessage
in package
implements
MessageInterface
FinalYes
Tags
Table of Contents
Interfaces
Properties
- $content : mixed
- $notification : mixed
- $options : mixed
- $subject : mixed
- $transport : mixed
Methods
- __construct() : mixed
- content() : self
- fromNotification() : self
- getContent() : string
- getNotification() : Notification|null
- getOptions() : MessageOptionsInterface|null
- getRecipientId() : string|null
- getSubject() : string
- getTransport() : string|null
- options() : self
- subject() : self
- transport() : self
Properties
$content
private
mixed
$content
$notification
private
mixed
$notification
$options
private
mixed
$options
$subject
private
mixed
$subject
$transport
private
mixed
$transport
Methods
__construct()
public
__construct(string $subject, string $content[, MessageOptionsInterface $options = null ]) : mixed
Parameters
- $subject : string
- $content : string
- $options : MessageOptionsInterface = null
content()
public
content(string $content) : self
Parameters
- $content : string
Return values
selffromNotification()
public
static fromNotification(Notification $notification) : self
Parameters
- $notification : Notification
Return values
selfgetContent()
public
getContent() : string
Return values
stringgetNotification()
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) : self
Parameters
- $options : MessageOptionsInterface
Return values
selfsubject()
public
subject(string $subject) : self
Parameters
- $subject : string
Return values
selftransport()
public
transport(string|null $transport) : self
Parameters
- $transport : string|null