Documentation

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

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

via()

Get the notification channels.

public via(mixed $notifiable) : array<string|int, mixed>|string
Parameters
$notifiable : mixed
Return values
array<string|int, mixed>|string

Search results