<?php
namespace Eadmin\Controller;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Cache;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\Routing\Annotation\Route;
use Eadmin\Entity\Client;
use Eadmin\Enum\ErrorEnum;
/**
* @Route(
* schemes = {"https"}
* )
* @Cache(
* maxage = "0",
* smaxage = "0",
* expires = "now",
* public = false
* )
*/
class HomeController extends AbstractController {
public function getEntityClass(){
return Client::class;
}
/**
* @Route(
* path = "/not-found",
* name = "notFound",
* methods = {"GET"}
* )
*/
public function notFoundPage(Request $request) {
return $this->renderEAD('not.found.html.twig');
}
}