<?php
namespace App\Action\PressSite\Account;
use App\Action\PressSite\DomainAwareAction;
use App\Contract\PressSite\Language\Switcher\GenericActionInterface;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
/**
* Responsible for handling the logic for requesting new password.
*/
class ForgottenPasswordAction extends DomainAwareAction implements GenericActionInterface
{
/**
* Renders the forgotten password page.
*
* @param \Symfony\Component\HttpFoundation\Request $request
* The current request object
*
* @return \Symfony\Component\HttpFoundation\Response
* The generated response object
*/
public function __invoke(Request $request): Response
{
return $this->render('press_site/actions/account/forgotten_password.html.twig', [
]);
}
}