You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
514 B
PHP
22 lines
514 B
PHP
<?php
|
|
namespace App\Controller;
|
|
|
|
use Symfony\Component\HttpFoundation\Response;
|
|
use Symfony\Component\HttpFoundation\Request;
|
|
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
|
|
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
|
|
|
|
|
use Doctrine\ORM\EntityManagerInterface;
|
|
|
|
|
|
Class HomeController extends AbstractController
|
|
{
|
|
public function index(){
|
|
$this->denyAccessUnlessGranted('IS_AUTHENTICATED_FULLY');
|
|
return new Response(
|
|
"Hey"
|
|
);
|
|
}
|
|
|
|
} |