]> Raphaël G. Git Repositories - treebundle/blob - Repository/UserRepository.php
Version 0.0.8
[treebundle] / Repository / UserRepository.php
1 <?php declare(strict_types=1);
2
3 /*
4 * This file is part of the Rapsys TreeBundle package.
5 *
6 * (c) Raphaël Gertz <symfony@rapsys.eu>
7 *
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
10 */
11
12 namespace Rapsys\TreeBundle\Repository;
13
14 use Doctrine\ORM\EntityManagerInterface;
15 use Doctrine\ORM\Mapping\ClassMetadata;
16
17 use Psr\Container\ContainerInterface;
18
19 use Rapsys\PackBundle\Util\FileUtil;
20 use Rapsys\PackBundle\Util\SluggerUtil;
21 use Rapsys\UserBundle\Repository\UserRepository as BaseUserRepository;
22
23 use Symfony\Component\Routing\RouterInterface;
24 use Symfony\Contracts\Translation\TranslatorInterface;
25
26 /**
27 * UserRepository
28 */
29 class UserRepository extends BaseUserRepository {
30 /**
31 * {@inheritdoc}
32 * @param array $languages The languages list
33 */
34 public function __construct(protected EntityManagerInterface $manager, protected ClassMetadata $class, protected ContainerInterface $container, protected FileUtil $file, protected RouterInterface $router, protected SluggerUtil $slugger, protected TranslatorInterface $translator, protected string $locale, protected array $languages) {
35 //Call parent constructor
36 parent::__construct($manager, $class, $container, $router, $slugger, $translator, $locale);
37 }
38 }