mirror of
https://github.com/koel/koel
synced 2024-12-25 03:53:05 +00:00
16 lines
264 B
PHP
16 lines
264 B
PHP
<?php
|
|
|
|
namespace App\Events;
|
|
|
|
use App\Models\Song;
|
|
use App\Models\User;
|
|
use Illuminate\Queue\SerializesModels;
|
|
|
|
class SongStartedPlaying extends Event
|
|
{
|
|
use SerializesModels;
|
|
|
|
public function __construct(public Song $song, public User $user)
|
|
{
|
|
}
|
|
}
|