ExpoChannel
in package
Table of Contents
- $expo : Expo
- Expo SDK Object
- __construct() : mixed
- Constructor
- isSubscribed() : bool
- Notifiable is subscribed for notification or not
- prepareInterest() : string
- Prepare interest channel for specified notifiable
- send() : void
- Send the given notification.
Properties
$expo
Expo SDK Object
public
Expo
$expo
Methods
__construct()
Constructor
public
__construct(Expo $expo) : mixed
Parameters
- $expo : Expo
Return values
mixed —isSubscribed()
Notifiable is subscribed for notification or not
public
static isSubscribed(mixed $notifiable) : bool
Parameters
- $notifiable : mixed
Return values
bool —prepareInterest()
Prepare interest channel for specified notifiable
public
static prepareInterest(mixed $notifiable) : string
Parameters
- $notifiable : mixed
Return values
string —send()
Send the given notification.
public
send(mixed $notifiable, Notification $notification) : void
Parameters
- $notifiable : mixed
- $notification : Notification