From 334f770812c58ac36cb55fd2144ec8b95c1e5a3f Mon Sep 17 00:00:00 2001 From: Maxime Steinhausser Date: Mon, 5 Jun 2017 19:16:16 +0200 Subject: [PATCH] Alias the slugger to fix fixtures loading --- app/config/services.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/config/services.yml b/app/config/services.yml index bf7247ae1..2493a710c 100644 --- a/app/config/services.yml +++ b/app/config/services.yml @@ -44,3 +44,9 @@ services: # needed for the localizeddate Twig filter Twig\Extensions\IntlExtension: ~ + + # the slugger service needs a public alias for getting it from + # the container when loading doctrine fixtures + slugger: + alias: AppBundle\Utils\Slugger + public: true