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