src/Controller/OAuth/GoogleController.php line 18
<?phpnamespace Cms\Controller\OAuth;use Cms\Enum\PlatformEnum;use KnpU\OAuth2ClientBundle\Client\ClientRegistry;use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;use Symfony\Component\HttpFoundation\Request;use Symfony\Component\HttpFoundation\Response;use Symfony\Component\Routing\Annotation\Route;#[Route('/login')]class GoogleController extends AbstractOAuthLoginController{#[Route('/google', name: 'cms_security_login_google', priority: 2)]public function login(ClientRegistry $registry): Response{return $this->doLogin($registry, PlatformEnum::GOOGLE, []);}#[Route('/connect-google', name: 'cms_security_connect_google')]public function connect(Request $request, ClientRegistry $registry): void{}}