ExpoPusherNotification
extends Notification
in package
implements
ShouldQueue
Uses
Queueable
Interfaces, Classes, Traits and Enums
- ShouldQueue
Table of Contents
- $body : string
- Notifciation body
- __construct() : mixed
- shouldSend() : bool
- Determine if the notification should be sent.
- toExpoPush() : ExpoMessage
- Get the expo message representaion of message
- via() : array<string|int, mixed>|string
- Get the notification channels.
Properties
$body
Notifciation body
public
string
$body
Methods
__construct()
public
__construct(mixed $body) : mixed
Parameters
- $body : mixed
Return values
mixed —shouldSend()
Determine if the notification should be sent.
public
shouldSend(mixed $notifiable, string $channel) : bool
Parameters
- $notifiable : mixed
- $channel : string
Return values
bool —toExpoPush()
Get the expo message representaion of message
public
toExpoPush(mixed $notifiable) : ExpoMessage
Parameters
- $notifiable : mixed
Return values
ExpoMessage —via()
Get the notification channels.
public
via(mixed $notifiable) : array<string|int, mixed>|string
Parameters
- $notifiable : mixed