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
stringbroadcastOn()
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>