koel/app/Events/SongStartedPlaying.php

22 lines
355 B
PHP
Raw Normal View History

2015-12-23 06:26:16 +00:00
<?php
namespace App\Events;
use App\Models\Song;
use App\Models\User;
use Illuminate\Queue\SerializesModels;
class SongStartedPlaying extends Event
{
use SerializesModels;
2021-06-05 10:47:56 +00:00
public Song $song;
public User $user;
2015-12-23 06:26:16 +00:00
public function __construct(Song $song, User $user)
{
$this->song = $song;
$this->user = $user;
}
}