Optimized todos

This commit is contained in:
Kevin Frantz 2018-10-04 20:23:57 +02:00
parent af860429b9
commit 07396f6c4a

View File

@ -6,37 +6,53 @@ use Symfony\Component\HttpFoundation\RedirectResponse;
use Symfony\Component\Routing\Annotation\Route;
use Symfony\Component\HttpFoundation\Request;
use App\Entity\Law;
/**
*
* @author kevinfrantz
*
* @todo Implement security!
*/
class LawController extends AbstractEntityController
{
/**
*
* @Route("/law/{id}.{_format}", defaults={"_format"="html"})
*/
public function show():Response{
//Implement
}
public function show(): Response
{
/**
*
* @todo Implement function!
*/
}
/**
*
* @Route("/law/{id}/right.{_format}", defaults={"_format"="html"})
*/
public function right(int $id):RedirectResponse{
//Implement
}
public function right(int $id): RedirectResponse
{
/**
*
* @todo Implement function!
*/
}
/**
*
* @Route("/law/{id}/node.{_format}", defaults={"_format"="html"})
*/
public function node(int $id):RedirectResponse{
//Implement
public function node(int $id): RedirectResponse
{
/**
*
* @todo Implement function!
*/
}
protected function setEntityName(): void
{
$this->entityName = Law::class;
}
}