Skip to content
Snippets Groups Projects
Commit 6adcebfd authored by Moreau Elise's avatar Moreau Elise
Browse files

add user repository in construct

parent 37aea2ca
No related branches found
No related tags found
No related merge requests found
...@@ -25,6 +25,7 @@ abstract class GroupAction extends Action ...@@ -25,6 +25,7 @@ abstract class GroupAction extends Action
parent::__construct($logger); parent::__construct($logger);
$this->em = $em; $this->em = $em;
$this->groupRepository = $em->getRepository('App\Domain\Group\Group'); $this->groupRepository = $em->getRepository('App\Domain\Group\Group');
$this->userRepository = $em->getRepository('App\Domain\User\User');
$this->twig = $twig; $this->twig = $twig;
$this->flash = $flash; $this->flash = $flash;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment