class Broadcast implements ShouldBroadcast (View source)

Traits

SerializesModels

Methods

__construct($id, $webhook, $request, $response, $status)

RequestReceived constructor.

array
broadcastWith()

Get the data to broadcast.

array
broadcastOn()

Get the channels the event should broadcast on.

Details

__construct($id, $webhook, $request, $response, $status)

RequestReceived constructor.

Parameters

$id
$webhook
$request
$response
$status

array broadcastWith()

Get the data to broadcast.

Return Value

array

array broadcastOn()

Get the channels the event should broadcast on.

Return Value

array