| Total Complexity | 2 |
| Total Lines | 11 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | class GoogleController extends AbstractController |
||
| 12 | { |
||
| 13 | #[Route("/connect/google", name: "connect_google_start")] |
||
| 14 | public function connectAction(ClientRegistry $clientRegistry): RedirectResponse |
||
| 15 | { |
||
| 16 | return $clientRegistry->getClient('google')->redirect([Google_Service_Gmail::GMAIL_READONLY], []); |
||
| 17 | } |
||
| 18 | |||
| 19 | #[Route("/connect/google/check", name: "connect_google_check")] |
||
| 22 | } |
||
| 23 | } |
||
| 24 |