mirror of
https://github.com/koel/koel
synced 2024-11-28 06:50:27 +00:00
21 lines
464 B
PHP
21 lines
464 B
PHP
<?php
|
|
|
|
namespace App\Services;
|
|
|
|
use App\Models\Album;
|
|
use App\Models\Artist;
|
|
use App\Values\AlbumInformation;
|
|
use App\Values\ArtistInformation;
|
|
|
|
class NullMusicEncyclopedia implements MusicEncyclopedia
|
|
{
|
|
public function getArtistInformation(Artist $artist): ?ArtistInformation
|
|
{
|
|
return ArtistInformation::make();
|
|
}
|
|
|
|
public function getAlbumInformation(Album $album): ?AlbumInformation
|
|
{
|
|
return AlbumInformation::make();
|
|
}
|
|
}
|