예제 #1
0
 public function __construct(Container $container, EntityManager $manager, UserManager $userManager, $options)
 {
     parent::__construct($userManager, $options);
     $this->container = $container;
     $this->manager = $manager;
 }
예제 #2
0
 /**
  * @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;
 }
예제 #3
0
 public function __construct(UserManagerInterface $userManager, $session, array $properties)
 {
     $this->session = $session;
     parent::__construct($userManager, $properties);
 }
예제 #4
0
 /**
  * @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;
 }
예제 #5
0
 /**
  * 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);
 }
예제 #6
0
 /**
  * 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;
 }
예제 #9
-1
 /**
  * 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();
 }