koel/app/Services/Contracts/MusicEncyclopedia.php

16 lines
340 B
PHP
Raw Normal View History

2022-08-08 16:00:59 +00:00
<?php
namespace App\Services\Contracts;
2022-08-08 16:00:59 +00:00
use App\Models\Album;
use App\Models\Artist;
use App\Values\AlbumInformation;
use App\Values\ArtistInformation;
interface MusicEncyclopedia
{
public function getArtistInformation(Artist $artist): ?ArtistInformation;
public function getAlbumInformation(Album $album): ?AlbumInformation;
}