public function __construct(EntityManager $em = null, RouterInterface $router = null, TranslatorInterface $translator = null, JournalService $journalService = null, TokenStorageInterface $tokenStorage = null, Session $session = null, RequestStack $requestStack, EventDispatcherInterface $eventDispatcher)
{
$this->em = $em;
$this->router = $router;
$this->journalService = $journalService;
$this->tokenStorage = $tokenStorage;
$this->session = $session;
$this->translator = $translator;
$this->requestStack = $requestStack;
$this->eventDispatcher = $eventDispatcher;
}