Barcelona forward Raphinha has told ESPN he considered leaving the club on several occasions during his first two seasons.