mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-01-25 13:12:22 +01:00
31 lines
610 B
PHP
31 lines
610 B
PHP
|
<?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
|
||
|
{
|
||
|
return new Response("Hello World!");
|
||
|
}
|
||
|
}
|
||
|
|