Added node menu

This commit is contained in:
Kevin Frantz
2018-10-04 22:39:26 +02:00
parent 368cbebbc1
commit 5c2a45b467
6 changed files with 69 additions and 3 deletions

View File

@@ -40,6 +40,24 @@ class NodeController extends AbstractEntityController
return $this->redirectToRouteById('app_law_show',$lawId);
}
/**
* @Route("/node/{id}/parents.{_format}", defaults={"_format"="html"})
*/
public function parents(int $id):Response{
/**
* @todo Implement
*/
}
/**
* @Route("/node/{id}/childs.{_format}", defaults={"_format"="html"})
*/
public function childs(int $id):Response{
/**
* @todo Implement
*/
}
protected function setEntityName(): void
{
$this->entityName = Node::class;