The France international won three successive Bundelsiga titles after being brought in by the Spaniard at Bayern Munich.
“I would say Guardiola [was my best coach] because he is the one who made me start playing a little more regularly even if I had played a few matches at Juventus," he told Eurosport.
“For a player in my position, a winger who likes to hit and provoke, he is the best coach we can have because that is what demands us the most.
“He creates systems to have one-on-one situations and it's the system where I can flourish the most. He didn't ask me to have stats. He just wanted me to take, hit and centre. And that was what I appreciated very much."