From: Raphaƫl Gertz Date: Sat, 2 Nov 2024 03:57:55 +0000 (+0100) Subject: Add languages extra argument X-Git-Tag: 0.0.6~5 X-Git-Url: https://git.rapsys.eu/treebundle/commitdiff_plain/f1f9f4eff316cefc0c20129a2a164b58ecdcdef8?hp=482a292299a6c15d944329d6d3e777cd3e1e5e21 Add languages extra argument --- diff --git a/Repository/UserRepository.php b/Repository/UserRepository.php index b2cfbd6..1082078 100644 --- a/Repository/UserRepository.php +++ b/Repository/UserRepository.php @@ -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); + } }