]> Raphaƫl G. Git Repositories - treebundle/blobdiff - Repository/UserRepository.php
Version 0.0.8
[treebundle] / Repository / UserRepository.php
index b2cfbd6e48e5e1efcc79108b07628ce05c6ced13..73fa3b1ee0feb9de9dc01d78f27a187f4b6b2488 100644 (file)
 
 namespace Rapsys\TreeBundle\Repository;
 
 
 namespace Rapsys\TreeBundle\Repository;
 
+use Doctrine\ORM\EntityManagerInterface;
+use Doctrine\ORM\Mapping\ClassMetadata;
+
+use Psr\Container\ContainerInterface;
+
+use Rapsys\PackBundle\Util\FileUtil;
+use Rapsys\PackBundle\Util\SluggerUtil;
 use Rapsys\UserBundle\Repository\UserRepository as BaseUserRepository;
 
 use Rapsys\UserBundle\Repository\UserRepository as BaseUserRepository;
 
+use Symfony\Component\Routing\RouterInterface;
+use Symfony\Contracts\Translation\TranslatorInterface;
+
 /**
  * UserRepository
  */
 class UserRepository extends BaseUserRepository {
 /**
  * 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 FileUtil $file, 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);
+       }
 }
 }