public function __construct(EntityManager $em, Config $config, Users $users, Manager $filesystem, LoggerInterface $loggerSystem, FlashLoggerInterface $loggerFlash) { $this->em = $em; $this->config = $config; $this->users = $users; $this->filesystem = $filesystem; $this->loggerSystem = $loggerSystem; $this->loggerFlash = $loggerFlash; }