mirror of
https://github.com/koel/koel
synced 2024-12-20 17:43:36 +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)
|
|
{
|
|
}
|
|
}
|