TokenCreated
in package
Uses
Dispatchable, InteractsWithSockets, SerializesModels
Table of Contents
- $token : Token
- __construct() : void
- Create a new event instance.
- broadcastOn() : Channel|PrivateChannel
- Get the channels the event should broadcast on.
- broadcastQueue() : string
- The name of the queue on which to place the broadcasting job.
Properties
$token
public
Token
$token
Methods
__construct()
Create a new event instance.
public
__construct(Token $token) : void
Parameters
- $token : Token
Return values
void —broadcastOn()
Get the channels the event should broadcast on.
public
broadcastOn() : Channel|PrivateChannel
Return values
Channel|PrivateChannel —broadcastQueue()
The name of the queue on which to place the broadcasting job.
public
broadcastQueue() : string