Suppression of quarkonia in PbPb collisions at $\sqrt{{s}_{{NN}}}$ = 5.02 TeV