domain-watchdog/src/Controller/MeController.php

15 lines
298 B
PHP
Raw Normal View History

2024-07-18 12:36:01 +02:00
<?php
namespace App\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\Security\Core\User\UserInterface;
class MeController extends AbstractController
{
public function __invoke(): UserInterface
{
2024-07-18 13:40:49 +02:00
return $this->getUser();
2024-07-18 12:36:01 +02:00
}
2024-08-02 23:24:52 +02:00
}