X-Git-Url: https://git.rapsys.eu/treebundle/blobdiff_plain/548f6537e841234c117c695da66ce39122d6015c..4d41b887be69f7648bf0327ba96d67092e380b8b:/Repository/UserRepository.php?ds=sidebyside diff --git a/Repository/UserRepository.php b/Repository/UserRepository.php index b2cfbd6..5244102 100644 --- a/Repository/UserRepository.php +++ b/Repository/UserRepository.php @@ -11,10 +11,27 @@ namespace Rapsys\TreeBundle\Repository; +use Doctrine\ORM\EntityManagerInterface; +use Doctrine\ORM\Mapping\ClassMetadata; + +use Psr\Container\ContainerInterface; + +use Rapsys\PackBundle\Util\SluggerUtil; use Rapsys\UserBundle\Repository\UserRepository as BaseUserRepository; +use Symfony\Component\Routing\RouterInterface; +use Symfony\Contracts\Translation\TranslatorInterface; + /** * UserRepository */ class UserRepository extends BaseUserRepository { + /** + * {@inheritdoc} + * @param array $languages The languages list + */ + public function __construct(protected EntityManagerInterface $manager, protected ClassMetadata $class, protected ContainerInterface $container, protected RouterInterface $router, protected SluggerUtil $slugger, protected TranslatorInterface $translator, protected string $locale, protected array $languages) { + //Call parent constructor + parent::__construct($manager, $class, $container, $router, $slugger, $translator, $locale); + } }