mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-05 22:35:01 +00:00
replace fqdn in event bundle
This commit is contained in:
@@ -60,7 +60,7 @@ class RoleController extends AbstractController
|
||||
|
||||
if ($form->isValid()) {
|
||||
$em = $this->getDoctrine()->getManager();
|
||||
$entity = $em->getRepository('ChillEventBundle:Role')->find($id);
|
||||
$entity = $em->getRepository(\Chill\EventBundle\Entity\Role::class)->find($id);
|
||||
|
||||
if (!$entity) {
|
||||
throw $this->createNotFoundException('Unable to find Role entity.');
|
||||
@@ -82,7 +82,7 @@ class RoleController extends AbstractController
|
||||
{
|
||||
$em = $this->getDoctrine()->getManager();
|
||||
|
||||
$entity = $em->getRepository('ChillEventBundle:Role')->find($id);
|
||||
$entity = $em->getRepository(\Chill\EventBundle\Entity\Role::class)->find($id);
|
||||
|
||||
if (!$entity) {
|
||||
throw $this->createNotFoundException('Unable to find Role entity.');
|
||||
@@ -105,7 +105,7 @@ class RoleController extends AbstractController
|
||||
{
|
||||
$em = $this->getDoctrine()->getManager();
|
||||
|
||||
$entities = $em->getRepository('ChillEventBundle:Role')->findAll();
|
||||
$entities = $em->getRepository(\Chill\EventBundle\Entity\Role::class)->findAll();
|
||||
|
||||
return $this->render('ChillEventBundle:Role:index.html.twig', [
|
||||
'entities' => $entities,
|
||||
@@ -135,7 +135,7 @@ class RoleController extends AbstractController
|
||||
{
|
||||
$em = $this->getDoctrine()->getManager();
|
||||
|
||||
$entity = $em->getRepository('ChillEventBundle:Role')->find($id);
|
||||
$entity = $em->getRepository(\Chill\EventBundle\Entity\Role::class)->find($id);
|
||||
|
||||
if (!$entity) {
|
||||
throw $this->createNotFoundException('Unable to find Role entity.');
|
||||
@@ -158,7 +158,7 @@ class RoleController extends AbstractController
|
||||
{
|
||||
$em = $this->getDoctrine()->getManager();
|
||||
|
||||
$entity = $em->getRepository('ChillEventBundle:Role')->find($id);
|
||||
$entity = $em->getRepository(\Chill\EventBundle\Entity\Role::class)->find($id);
|
||||
|
||||
if (!$entity) {
|
||||
throw $this->createNotFoundException('Unable to find Role entity.');
|
||||
|
Reference in New Issue
Block a user