Property | Type | Description | |
---|---|---|---|
$subjectSerializers | array | A map of notification types (key) to the serializer that should be used to output the notification's subject (value). | |
$type |
Method | Description | |
---|---|---|
setSubjectSerializer ( $type, $serializer ) |
Method | Description | |
---|---|---|
getDefaultAttributes ( |
||
sender ( $notification ) : |
||
subject ( $notification ) : |
||
user ( $notification ) : |
protected getDefaultAttributes ( |
||
$notification |
protected sender ( $notification ) : |
||
return |
public static setSubjectSerializer ( $type, $serializer ) | ||
$type | ||
$serializer |
protected subject ( $notification ) : |
||
return |
protected user ( $notification ) : |
||
return |
protected static array $subjectSerializers | ||
return | array |