koel/app/Events/SongsBatchLiked.php

22 lines
382 B
PHP
Raw Normal View History

<?php
namespace App\Events;
use App\Models\User;
use Illuminate\Queue\SerializesModels;
use Illuminate\Support\Collection;
class SongsBatchLiked extends Event
{
use SerializesModels;
2021-06-05 10:47:56 +00:00
public Collection $songs;
public User $user;
public function __construct(Collection $songs, User $user)
{
$this->songs = $songs;
$this->user = $user;
}
}