Commit 42f6e8e3 authored by Andre's avatar Andre

Fix UserManager dependencies

parent f1d1934f
......@@ -53,6 +53,7 @@ userManager:
- '@flashBag'
- '@mailManager'
- '@router'
- '@dispatcher'
- '@invitation'
invitation:
......
......@@ -13,6 +13,7 @@ use Avris\Micrus\Social\MailManagerInterface;
use Avris\Micrus\Tool\FlashBag;
use Avris\Micrus\Tool\Security\CryptInterface;
use Avris\Micrus\Tool\Security\SecurityManager;
use Avris\Micrus\Bootstrap\EventDispatcherInterface;
use Doctrine\ORM\EntityManager;
class UserManager extends \Avris\Micrus\Social\UserManager
......@@ -28,9 +29,10 @@ class UserManager extends \Avris\Micrus\Social\UserManager
FlashBag $flashBag,
MailManagerInterface $mailManager,
Router $router,
EventDispatcherInterface $dispatcher,
InvitationService $invitation
) {
parent::__construct($em, $sm, $crypt, $request, $flashBag, $mailManager, $router);
parent::__construct($em, $sm, $crypt, $request, $flashBag, $mailManager, $router, $dispatcher);
$this->invitation = $invitation;
}
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment