2022-08-08 16:00:59 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Services;
|
|
|
|
|
|
|
|
use App\Models\Album;
|
|
|
|
use App\Models\Artist;
|
2024-02-23 18:36:02 +00:00
|
|
|
use App\Services\Contracts\MusicEncyclopedia;
|
2022-08-08 16:00:59 +00:00
|
|
|
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();
|
|
|
|
}
|
|
|
|
}
|