App\services\Download::fromArtist PHP Method

fromArtist() protected method

protected fromArtist ( Artist $artist )
$artist app\models\Artist
    protected function fromArtist(Artist $artist)
    {
        // Don't forget the contributed songs.
        $songs = $artist->songs->merge($artist->getContributedSongs());
        return $this->fromMultipleSongs($songs);
    }