protected function generateEmail(OAuthInterface $oauth) { $email = $oauth->getEmail(); if (!$email) { $email = $oauth->getOwner() . '-' . $oauth->getUsername() . '@' . ''; } return $email; }
protected function generateEmail(OAuthInterface $oauth) { return $oauth->getEmail(); }