mirror of
https://github.com/koel/koel
synced 2024-11-10 14:44:13 +00:00
21 lines
384 B
PHP
21 lines
384 B
PHP
<?php
|
|
|
|
namespace App\Events;
|
|
|
|
use App\Models\User;
|
|
use Illuminate\Queue\SerializesModels;
|
|
use Illuminate\Support\Collection;
|
|
|
|
class SongsBatchUnliked extends Event
|
|
{
|
|
use SerializesModels;
|
|
|
|
public Collection $songs;
|
|
public User $user;
|
|
|
|
public function __construct(Collection $songs, User $user)
|
|
{
|
|
$this->songs = $songs;
|
|
$this->user = $user;
|
|
}
|
|
}
|