Exemplo n.º 1
0
 /**
  * Get songs *contributed* (in compilation albums) by the artist.
  *
  * @return \Illuminate\Database\Eloquent\Collection
  */
 public function getContributedSongs()
 {
     return Song::whereContributingArtistId($this->id)->get();
 }