Documentation

ServerCreated
in package
implements ShouldBroadcast uses Dispatchable, InteractsWithSockets

Table of Contents

Interfaces

ShouldBroadcast

Methods

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

Methods

__construct()

Create a new event instance.

public __construct() : mixed

broadcastAs()

The event's broadcast name.

public broadcastAs() : string
Return values
string

broadcastOn()

Get the channels the event should broadcast on.

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

broadcastWith()

Get the data to broadcast.

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

        
On this page

Search results