EmbeddingAvailable
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. |
|
| array|null | $bbox | The bbox of the image (x, y, width, height) or null for full image. |
|
| 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
Channel|array
broadcastOn()
Get the channels the event should broadcast on.
array
broadcastWith()
Get the data to broadcast.
Details
at line 61
void
__construct(string $filename, User $user, array|null $bbox = null)
Create a new event instance.
at line 73
Channel|array
broadcastOn()
Get the channels the event should broadcast on.
at line 83
array
broadcastWith()
Get the data to broadcast.