public function getUrl(TwoFactorInterface $user) { $encoder = 'https://chart.googleapis.com/chart?chs=200x200&chld=M|0&cht=qr&chl='; return $encoder . urlencode($this->getQRContent($user)); }