MetaFox

Notify extends Facade
in package

Class Notify.

Tags
link
\MetaFox\Notification\Repositories\NotificationManager;

Table of Contents

Methods

addHandler()  : void
getChannels()  : array<string|int, mixed>
getHandler()  : string|null
getPhoneNumber()  : string
routeNotificationFor()  : array<string|int, mixed>
getFacadeAccessor()  : string

Methods

addHandler()

public static addHandler(string $type, string $class) : void
Parameters
$type : string
$class : string

getChannels()

public static getChannels(IsNotifiable $notifiable, string $type) : array<string|int, mixed>
Parameters
$notifiable : IsNotifiable
$type : string
Return values
array<string|int, mixed>

getHandler()

public static getHandler(string $type) : string|null
Parameters
$type : string
Return values
string|null

getPhoneNumber()

public static getPhoneNumber(IsNotifiable $notifiable, string $type) : string
Parameters
$notifiable : IsNotifiable
$type : string
Return values
string

routeNotificationFor()

public static routeNotificationFor(IsNotifiable $notifiable, string $driver, Notification $notification) : array<string|int, mixed>
Parameters
$notifiable : IsNotifiable
$driver : string
$notification : Notification
Return values
array<string|int, mixed>

getFacadeAccessor()

protected static getFacadeAccessor() : string
Return values
string

        
On this page

Search results