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. |
Methods
void
Channel|array
broadcastOn()
Get the channels the event should broadcast on.
array
broadcastWith()
Get the data to broadcast.
Details
at line 56
void
__construct(string $filename, User $user, array|null $bbox = null)
Create a new event instance.
at line 68
Channel|array
broadcastOn()
Get the channels the event should broadcast on.
at line 78
array
broadcastWith()
Get the data to broadcast.