X-Git-Url: https://git.rapsys.eu/treebundle/blobdiff_plain/f1f9f4eff316cefc0c20129a2a164b58ecdcdef8..HEAD:/Repository/UserRepository.php diff --git a/Repository/UserRepository.php b/Repository/UserRepository.php index 1082078..73fa3b1 100644 --- a/Repository/UserRepository.php +++ b/Repository/UserRepository.php @@ -11,8 +11,18 @@ 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 Symfony\Component\Routing\RouterInterface; +use Symfony\Contracts\Translation\TranslatorInterface; + /** * UserRepository */ @@ -21,7 +31,7 @@ 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) { + 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); }