src/Controller/ProjectsController.php line 20

Open in your IDE?
  1. <?php
  2. namespace App\Controller;
  3. use Symfony\Component\Routing\Annotation\Route;
  4. use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
  5. use Symfony\Flex\Response;
  6. use Twig\Environment;
  7. class ProjectsController extends AbstractController
  8. {
  9.     /**
  10.      * Undocumented function
  11.      *
  12.      * @return void
  13.      *
  14.      *  @Route("/projects",name="projects_page")
  15.      * 
  16.      */
  17.     public function projects(Environment $twig)
  18.     {
  19.         return $this->render('pages/projects.html.twig');
  20.     }
  21. }