mirror of
https://github.com/koel/koel
synced 2024-12-12 05:32:28 +00:00
15 lines
403 B
PHP
15 lines
403 B
PHP
<?php
|
|
|
|
namespace App\Http\Controllers\V6\API;
|
|
|
|
use App\Http\Controllers\API\Controller;
|
|
use App\Models\Artist;
|
|
use App\Services\MediaInformationService;
|
|
|
|
class FetchArtistInformationController extends Controller
|
|
{
|
|
public function __invoke(Artist $artist, MediaInformationService $informationService)
|
|
{
|
|
return response()->json($informationService->getArtistInformation($artist));
|
|
}
|
|
}
|