mirror of
https://github.com/koel/koel
synced 2024-12-24 19:43:06 +00:00
22 lines
562 B
PHP
22 lines
562 B
PHP
<?php
|
|
|
|
namespace App\Http\Controllers\API\Interaction;
|
|
|
|
use App\Http\Controllers\Controller as BaseController;
|
|
use App\Models\User;
|
|
use App\Services\InteractionService;
|
|
use Illuminate\Contracts\Auth\Authenticatable;
|
|
|
|
class Controller extends BaseController
|
|
{
|
|
protected $interactionService;
|
|
|
|
/** @var User */
|
|
protected $currentUser;
|
|
|
|
public function __construct(InteractionService $interactionService, ?Authenticatable $currentUser)
|
|
{
|
|
$this->interactionService = $interactionService;
|
|
$this->currentUser = $currentUser;
|
|
}
|
|
}
|