<?phpdeclare(strict_types=1);namespace App\Controller\Security\Google;use KnpU\OAuth2ClientBundle\Client\ClientRegistry;use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;use Symfony\Component\HttpFoundation\RedirectResponse;class GoogleAuthController extends AbstractController{ public function connect(ClientRegistry $clientRegistry): RedirectResponse { return $clientRegistry->getClient('google')->redirect([], []); }}