Skip to content

Commit 334f770

Browse files
committed
Alias the slugger to fix fixtures loading
1 parent 7e44855 commit 334f770

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

app/config/services.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,9 @@ services:
4444

4545
# needed for the localizeddate Twig filter
4646
Twig\Extensions\IntlExtension: ~
47+
48+
# the slugger service needs a public alias for getting it from
49+
# the container when loading doctrine fixtures
50+
slugger:
51+
alias: AppBundle\Utils\Slugger
52+
public: true

0 commit comments

Comments
 (0)