Copied!

SystemMessage

SystemMessage.php : 15
Implements MessageInterface

Constants

publicDEFAULT_TYPE

SystemMessage.php : 17
public mixed DEFAULT_TYPE = 'system'

Methods

public__construct()

SystemMessage.php : 31
public __construct(UserReference $user[, array<string, mixed> $context = [] ])

Parameters

Name Type Default value Description
$user UserReference - -
$context array<string, mixed> [] -

publicgetContext()

SystemMessage.php : 75
public getContext() : array<string, mixed>

Return values

array<string, mixed>

publicgetOptions()

SystemMessage.php : 67
public getOptions() : MessageOptionsInterface|null

Return values

MessageOptionsInterface|null

publicgetRecipientId()

SystemMessage.php : 47
public getRecipientId() : string|null

Return values

string|null

publicgetSubject()

SystemMessage.php : 52
public getSubject() : string

Return values

string

publicgetTransport()

SystemMessage.php : 62
public getTransport() : string|null

Return values

string|null

publicgetType()

SystemMessage.php : 88
public getType() : string

Return values

string

publicgetUser()

SystemMessage.php : 37
public getUser() : UserReference

Return values

UserReference

publicsetContext()

SystemMessage.php : 83
public setContext(array<string, mixed> $context) : void

Parameters

Name Type Default value Description
$context array<string, mixed> - -

publicsetSubject()

SystemMessage.php : 57
public setSubject(string $subject) : void

Parameters

Name Type Default value Description
$subject string - -

publicsetType()

SystemMessage.php : 93
public setType(string $type) : void

Parameters

Name Type Default value Description
$type string - -

publicsetUser()

SystemMessage.php : 42
public setUser(UserReference $user) : void

Parameters

Name Type Default value Description
$user UserReference - -