public function userTopTracks(string $username): Lastfm
    {
        $this->query = array_merge($this->query, [
            'method' => 'user.getTopTracks',
            'user' => $username,
        ]);

        $this->pluck = 'toptracks.track';

        return $this;
    }
public function userTopTracks(string $username): Lastfm
    {
        $this->query = array_merge($this->query, [
            'method' => 'user.getTopTracks',
            'user' => $username,
        ]);

        $this->pluck = 'toptracks.track';

        return $this;
    }
public function userTopTracks ( string $ username ) : Lastfm { $ this -> query = array_merge ( $ this -> query , [ 'method' => 'user.getTopTracks' , 'user' => $ username , ] ) ; $ this -> pluck = 'toptracks.track' ; return $ this ; }
Get an array of top tracks.

@param string $username

@return Lastfm
Get an array of top tracks .