<?php
namespace App\Controller;
use App\Repository\TimsolutionRepository;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Annotation\Route;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
class TimController extends AbstractController
{
/**
* @Route("/tim", name="tim")
*/
public function index(TimsolutionRepository $timsolutionRepository): Response
{
return $this->render('tim/index.html.twig', [
'tim' => $timsolutionRepository->find(1),
]);
}
}