class WebSocketAdapter extends NotificationAdapter

An interface to our websocket

Methods

trigger(string $channel, string $message)

Trigger a notification

static bool
isEnabled()

Find whether we should/can send messages using this adapter

Details

at line line 24
trigger(string $channel, string $message)

Trigger a notification

Parameters

string $channel The channel to send the message on
string $message The content of the message to send

at line line 47
static bool isEnabled()

Find whether we should/can send messages using this adapter

Return Value

bool