public function __construct(EntityManager $em, UserProviderInterface $userProvider, UserCheckerInterface $userChecker, $providerKey, EncoderFactoryInterface $encoderFactory, $hideUserNotFoundExceptions = true) { parent::__construct($userProvider, $userChecker, $providerKey, $encoderFactory, $hideUserNotFoundExceptions); $this->em = $em; }
/** * @param UserProviderInterface $userProvider * @param UserCheckerInterface $userChecker * @param string $providerKey * @param EncoderFactoryInterface $encoderFactory * @param bool $hideUserNotFoundExceptions */ public function __construct(UserProviderInterface $userProvider, UserCheckerInterface $userChecker, $providerKey, EncoderFactoryInterface $encoderFactory, $hideUserNotFoundExceptions = true) { parent::__construct($userProvider, $userChecker, $providerKey, $encoderFactory, $hideUserNotFoundExceptions); $this->providerKey = $providerKey; }
/** * Constructor. * * @param EntityManager $entityManager * @param UserProviderInterface $userProvider * @param UserCheckerInterface $userChecker * @param EncoderFactoryInterface $providerKey * @param EncoderFactoryInterface $encoderFactory * @param bool|true $hideUserNotFoundExceptions * @param array $superAdminsLogin */ public function __construct(EntityManager $entityManager, UserProviderInterface $userProvider, UserCheckerInterface $userChecker, $providerKey, EncoderFactoryInterface $encoderFactory, $hideUserNotFoundExceptions = true, array $superAdminsLogin = array()) { parent::__construct($userProvider, $userChecker, $providerKey, $encoderFactory, $hideUserNotFoundExceptions); $this->entityManager = $entityManager; $this->superAdminsLogin = $superAdminsLogin; }