Add initial set of files
This commit is contained in:
commit
93380252f1
66 changed files with 11151 additions and 0 deletions
19
src/Controller/HomeController.php
Normal file
19
src/Controller/HomeController.php
Normal file
|
@ -0,0 +1,19 @@
|
|||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Controller;
|
||||
|
||||
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
|
||||
use Symfony\Component\HttpFoundation\Response;
|
||||
use Symfony\Component\Routing\Annotation\Route;
|
||||
|
||||
final class HomeController extends AbstractController
|
||||
{
|
||||
#[Route(path: '/', name: 'home')]
|
||||
public function __invoke(): Response
|
||||
{
|
||||
// TODO: show a list of all components.
|
||||
return $this->render('home.html.twig');
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue