App\Http\Controllers\LastFmController::getPage PHP 메소드

getPage() 공개 메소드

Return all tweets to the LastFM API dashboard
public getPage ( ) : mixed
리턴 mixed
    public function getPage()
    {
        $details = $this->getArtistInfo();
        $albums = array_slice($this->getTopAlbums(), 0, 4);
        $tracks = array_slice($this->getTopTracks(), 0, 10);
        return view('api.lastfm')->withDetails($details)->withAlbums($albums)->withTracks($tracks);
    }