]> Raphaƫl G. Git Repositories - treebundle/blobdiff - Repository/UserRepository.php
Add languages extra argument
[treebundle] / Repository / UserRepository.php
index b2cfbd6e48e5e1efcc79108b07628ce05c6ced13..1082078b50390e9e442b910b24c8a862df7e4c1f 100644 (file)
@@ -17,4 +17,12 @@ use Rapsys\UserBundle\Repository\UserRepository as 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 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);
+       }
 }