X-Git-Url: https://git.rapsys.eu/treebundle/blobdiff_plain/e7f0a62a00c056d3aacddb031e16cbe7a93eb1c4..ad8124dcef6a76e6b458c44622b6285fa522ac01:/Repository.php?ds=inline 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);