23 lines
386 B
PHP
23 lines
386 B
PHP
<?php
|
|
|
|
namespace Zoomyboy\MedialibraryHelper\Tests\Events;
|
|
|
|
use Illuminate\Foundation\Events\Dispatchable;
|
|
use Illuminate\Queue\SerializesModels;
|
|
use Spatie\MediaLibrary\HasMedia;
|
|
|
|
class MediaChange
|
|
{
|
|
use Dispatchable;
|
|
use SerializesModels;
|
|
|
|
public function __construct(public HasMedia $model)
|
|
{
|
|
}
|
|
|
|
public function broadcastOn()
|
|
{
|
|
return [];
|
|
}
|
|
}
|