mirror of
https://github.com/koel/koel
synced 2024-12-30 06:23: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)
|
|
{
|
|
}
|
|
}
|