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

        $this->pluck = 'user';

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

        $this->pluck = 'user';

        return $this;
    }
public function userInfo ( string $ username ) : Lastfm { $ this -> query = array_merge ( $ this -> query , [ 'method' => 'user.getInfo' , 'user' => $ username , ] ) ; $ this -> pluck = 'user' ; return $ this ; }
Get an array with user information.

@param string $username

@return Lastfm
Get an array with user information .