src/Action/User/Login/LoginFormAction.php line 12
<?phpdeclare(strict_types=1);namespace App\Action\User\Login;use App\Repository\User\UserRepositoryInterface;use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;use Symfony\Component\HttpFoundation\Response;use Symfony\Component\Routing\Generator\UrlGeneratorInterface;class LoginFormAction extends AbstractController{public function __invoke(UserRepositoryInterface $userRepository,UrlGeneratorInterface $urlGenerator): Response {if (null !== $this->getUser()) {return $this->redirectToRoute('wiki.welcome');}return $this->render(view: '@app/user/login/form.html.twig');}}