21 lines
485 B
PHP
21 lines
485 B
PHP
<?php
|
|
|
|
namespace Slovocast\Controller\User;
|
|
|
|
use Odan\Session\SessionInterface;
|
|
use Psr\Http\Message\ResponseInterface as Response;
|
|
use Slovocast\Controller\Controller;
|
|
|
|
class RegisterUserPage extends Controller
|
|
{
|
|
public function __construct(
|
|
private SessionInterface $session
|
|
) { }
|
|
|
|
public function handle(): Response
|
|
{
|
|
$formKey = $this->session->get("form_key");
|
|
return $this->render('user/register.twig', [ 'form_key' => $formKey ]);
|
|
}
|
|
}
|