mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-25 21:55:54 +00:00
15 lines
298 B
PHP
15 lines
298 B
PHP
<?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
|
|
{
|
|
return $this->getUser();
|
|
}
|
|
}
|