koel/app/Http/Controllers/API/Interaction/Controller.php

23 lines
562 B
PHP
Raw Normal View History

2017-08-06 09:43:59 +00:00
<?php
namespace App\Http\Controllers\API\Interaction;
use App\Http\Controllers\Controller as BaseController;
2020-10-26 15:29:29 +00:00
use App\Models\User;
2018-08-18 12:27:26 +00:00
use App\Services\InteractionService;
2020-10-26 15:29:29 +00:00
use Illuminate\Contracts\Auth\Authenticatable;
2017-08-06 09:43:59 +00:00
class Controller extends BaseController
{
2018-08-18 12:27:26 +00:00
protected $interactionService;
2020-10-26 15:29:29 +00:00
/** @var User */
protected $currentUser;
public function __construct(InteractionService $interactionService, ?Authenticatable $currentUser)
2018-08-18 12:27:26 +00:00
{
$this->interactionService = $interactionService;
2020-10-26 15:29:29 +00:00
$this->currentUser = $currentUser;
2018-08-18 12:27:26 +00:00
}
2017-08-06 09:43:59 +00:00
}