/** * Gets the song from the last fm API * * @param string $artist The artist * @param string $title The title * @return Song The song */ protected function getSongFromLastFM($artist, $title) { $lastFmCrawler = new LastFMCrawler(); $song = $lastFmCrawler->trackInformation($artist, $title); return $song; }