2023-03-07 21:53:36 +01:00
|
|
|
<?php
|
|
|
|
|
2024-01-03 11:10:59 +01:00
|
|
|
namespace Workbench\App\Events;
|
2023-03-07 21:53:36 +01:00
|
|
|
|
|
|
|
use Illuminate\Foundation\Events\Dispatchable;
|
|
|
|
use Illuminate\Queue\SerializesModels;
|
|
|
|
use Spatie\MediaLibrary\MediaCollections\Models\Media;
|
|
|
|
|
|
|
|
class MediaStored
|
|
|
|
{
|
|
|
|
use Dispatchable;
|
|
|
|
use SerializesModels;
|
|
|
|
|
|
|
|
public function __construct(public Media $media)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
public function broadcastOn()
|
|
|
|
{
|
|
|
|
return [];
|
|
|
|
}
|
|
|
|
}
|