mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-01-09 14:07:25 +01:00
Optimized todos
This commit is contained in:
parent
af860429b9
commit
07396f6c4a
@ -6,37 +6,53 @@ use Symfony\Component\HttpFoundation\RedirectResponse;
|
|||||||
use Symfony\Component\Routing\Annotation\Route;
|
use Symfony\Component\Routing\Annotation\Route;
|
||||||
use Symfony\Component\HttpFoundation\Request;
|
use Symfony\Component\HttpFoundation\Request;
|
||||||
use App\Entity\Law;
|
use App\Entity\Law;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author kevinfrantz
|
* @author kevinfrantz
|
||||||
*
|
* @todo Implement security!
|
||||||
*/
|
*/
|
||||||
class LawController extends AbstractEntityController
|
class LawController extends AbstractEntityController
|
||||||
{
|
{
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
*
|
||||||
* @Route("/law/{id}.{_format}", defaults={"_format"="html"})
|
* @Route("/law/{id}.{_format}", defaults={"_format"="html"})
|
||||||
*/
|
*/
|
||||||
public function show():Response{
|
public function show(): Response
|
||||||
//Implement
|
{
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
*
|
||||||
|
* @todo Implement function!
|
||||||
|
*/
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
* @Route("/law/{id}/right.{_format}", defaults={"_format"="html"})
|
* @Route("/law/{id}/right.{_format}", defaults={"_format"="html"})
|
||||||
*/
|
*/
|
||||||
public function right(int $id):RedirectResponse{
|
public function right(int $id): RedirectResponse
|
||||||
//Implement
|
{
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
*
|
||||||
|
* @todo Implement function!
|
||||||
|
*/
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
* @Route("/law/{id}/node.{_format}", defaults={"_format"="html"})
|
* @Route("/law/{id}/node.{_format}", defaults={"_format"="html"})
|
||||||
*/
|
*/
|
||||||
public function node(int $id):RedirectResponse{
|
public function node(int $id): RedirectResponse
|
||||||
//Implement
|
{
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @todo Implement function!
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function setEntityName(): void
|
protected function setEntityName(): void
|
||||||
{
|
{
|
||||||
$this->entityName = Law::class;
|
$this->entityName = Law::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user