Skip to content

Instantly share code, notes, and snippets.

@tsh-code
Created July 19, 2022 06:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tsh-code/7376ec7e771e6f3c3091d8c3859823a8 to your computer and use it in GitHub Desktop.
Save tsh-code/7376ec7e771e6f3c3091d8c3859823a8 to your computer and use it in GitHub Desktop.
<?php
declare(strict_types=1);
namespace App\Controller;
class IndexController extends AbstractController
{
public function home(Request $request): Response
{
return $this->render('index.html.twig', [
'type' => $request->get('errorType'),
]);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment