public function __construct(Container $container, EntityManager $manager, UserManager $userManager, $options) { parent::__construct($userManager, $options); $this->container = $container; $this->manager = $manager; }
/** * @param UserManagerInterface $userManager * @param TokenRepository $tokenRepository * @param array $properties */ public function __construct(UserManagerInterface $userManager, TokenRepository $tokenRepository, array $properties) { parent::__construct($userManager, $properties); $this->tokenRepository = $tokenRepository; }
public function __construct(UserManagerInterface $userManager, $session, array $properties) { $this->session = $session; parent::__construct($userManager, $properties); }
/** * @param UserManagerInterface $userManager * @param array $properties * @param TagRepositoryInterface $tagRepository */ public function __construct(UserManagerInterface $userManager, array $properties, TagRepositoryInterface $tagRepository) { parent::__construct($userManager, $properties); $this->tagRepository = $tagRepository; }
/** * Constructor. * * @param UserManagerInterface $userManager FOSUB user provider. * @param array $properties Property mapping. * @param EventDispatcher $eventDispatcher EventDispatcher manager. */ public function __construct(UserManagerInterface $userManager, array $properties, EventDispatcherInterface $eventDispatcher) { $this->eventDispatcher = $eventDispatcher; parent::__construct($userManager, $properties); }
/** * FOSUBUserProvider constructor. * @param RegistryInterface $registry * @param UserManagerInterface $userManager * @param array $properties */ public function __construct(RegistryInterface $registry, UserManagerInterface $userManager, array $properties) { parent::__construct($userManager, $properties); $this->em = $registry->getManager(); }
public function __construct($userManager, array $properties, NotificationService $notificationService) { parent::__construct($userManager, $properties); $this->notificationService = $notificationService; }
/** * MyFOSUBUserProvider constructor. * @param UserManagerInterface $userManager * @param array $properties * @param Logger $logger * @param EntityManager $entityManager */ public function __construct(UserManagerInterface $userManager, array $properties, Logger $logger, EntityManager $entityManager) { parent::__construct($userManager, $properties); $this->logger = $logger; $this->em = $entityManager; }
/** * UserProvider constructor. * * @param UserManagerInterface $userManager * @param array $properties * @param UserPasswordEncoder $passwordEncoder * @param EntityManager $entityManager * @param LoginRequestManager $loginRequestManager * @param RequestStack $requestStack */ public function __construct(UserManagerInterface $userManager, array $properties, UserPasswordEncoder $passwordEncoder, EntityManager $entityManager, LoginRequestManager $loginRequestManager, RequestStack $requestStack) { parent::__construct($userManager, $properties); $this->passwordEncoder = $passwordEncoder; $this->entityManager = $entityManager; $this->loginRequestManager = $loginRequestManager; $this->request = $requestStack->getCurrentRequest(); }