class EmbeddingAvailable implements ShouldBroadcastNow

Traits

Dispatchable
InteractsWithSockets
SerializesModels

Properties

User $user

The user that requested the embedding.

string $filename

The embedding filename on the storage disk.

string|null $queue

The name of the queue the job should be sent to.

protected bool $deleteWhenMissingModels

Ignore this job if the image or user does not exist any more.

Methods

void
__construct(string $filename, User $user)

Create a new event instance.

Channel|array
broadcastOn()

Get the channels the event should broadcast on.

array
broadcastWith()

Get the data to broadcast.

Details

at line 53
void __construct(string $filename, User $user)

Create a new event instance.

Parameters

string $filename
User $user

Return Value

void

at line 64
Channel|array broadcastOn()

Get the channels the event should broadcast on.

Return Value

Channel|array

at line 74
array broadcastWith()

Get the data to broadcast.

Return Value

array