koel/app/Events/PlaybackStarted.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)
{
}
}