2018-09-05 09:11:08 +02:00
|
|
|
<?php
|
|
|
|
namespace App\Controller;
|
|
|
|
|
|
|
|
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
|
|
|
|
use Symfony\Component\Routing\Annotation\Route;
|
|
|
|
use Symfony\Component\HttpFoundation\Response;
|
|
|
|
|
|
|
|
/**
|
|
|
|
*
|
|
|
|
* @author kevinfrantz
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
class DefaultController extends AbstractController implements DefaultControllerInterface
|
|
|
|
{
|
|
|
|
public function imprint(): Response
|
|
|
|
{
|
|
|
|
return new Response("Hello World!");
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Matches /
|
|
|
|
*
|
|
|
|
* @Route("/", name="homepage")
|
|
|
|
*/
|
|
|
|
public function homepage(): Response
|
|
|
|
{
|
2018-09-05 11:37:35 +02:00
|
|
|
return $this->render("standard/homepage.html.twig",['menu_items'=>[]]);
|
2018-09-05 09:11:08 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|