mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2026-03-31 17:15:38 +00:00
make redirect to user locale selected #19
This commit is contained in:
parent
f85414fd2b
commit
9fcc5a451b
3 changed files with 26 additions and 4 deletions
|
|
@ -14,7 +14,10 @@ class UserService
|
|||
private UserRepository $userRepository;
|
||||
private ParameterBagInterface $parameterBagInterface;
|
||||
|
||||
public function __construct(EntityManagerInterface $entityManager, ParameterBagInterface $parameterBagInterface)
|
||||
public function __construct(
|
||||
EntityManagerInterface $entityManager,
|
||||
ParameterBagInterface $parameterBagInterface
|
||||
)
|
||||
{
|
||||
$this->entityManager = $entityManager;
|
||||
$this->userRepository = $entityManager->getRepository(User::class);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue