Documentation

VehicleBooked implements ShouldBroadcast Uses Dispatchable, InteractsWithSockets, SerializesModels

Interfaces, Classes and Traits

ShouldBroadcast

Table of Contents

$data  : mixed
__construct()  : void
Create a new event instance.
broadcastAs()  : string
The event's broadcast name.
broadcastOn()  : Channel|array<string|int, mixed>
Get the channels the event should broadcast on.
broadcastWith()  : array<string|int, mixed>
Get the data to broadcast.

Properties

Methods

__construct()

Create a new event instance.

public __construct(mixed $data) : void
Parameters
$data : mixed
Return values
void

broadcastAs()

The event's broadcast name.

public broadcastAs() : string
Return values
string

broadcastOn()

Get the channels the event should broadcast on.

public broadcastOn() : Channel|array<string|int, mixed>
Return values
Channel|array<string|int, mixed>

broadcastWith()

Get the data to broadcast.

public broadcastWith() : array<string|int, mixed>
Return values
array<string|int, mixed>

Search results