X-Git-Url: https://git.rapsys.eu/treebundle/blobdiff_plain/d1f5c6c9ff6d8e7435f0bfba5983b327c89266d4..refs/heads/master:/Repository.php?ds=sidebyside diff --git a/Repository.php b/Repository.php index 6caf70d..2198636 100644 --- a/Repository.php +++ b/Repository.php @@ -17,6 +17,7 @@ use Doctrine\ORM\Mapping\ClassMetadata; use Psr\Container\ContainerInterface; +use Rapsys\PackBundle\Util\FileUtil; use Rapsys\PackBundle\Util\SluggerUtil; use Symfony\Component\Routing\RouterInterface; @@ -48,13 +49,14 @@ class Repository extends EntityRepository { * @param EntityManagerInterface $manager The EntityManagerInterface instance * @param ClassMetadata $class The ClassMetadata instance * @param ContainerInterface $container The container instance + * @param FileUtil $file The FileUtil instance * @param RouterInterface $router The router instance * @param SluggerUtil $slugger The SluggerUtil instance * @param TranslatorInterface $translator The TranslatorInterface instance * @param string $locale The current locale * @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($this->manager, $this->class);