Skip to content

Commit 439cc2f

Browse files
fix: permission roles trait service error (#18)
The "FrontendPermissionToolkitBundle\Service" service or alias has been removed or inlined when the container was compiled. You should either make it public, or stop using the container directly and use dependency injection instead. Fixed by making service configuration public
1 parent 0c099b0 commit 439cc2f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Resources/config/services.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
services:
22

33
FrontendPermissionToolkitBundle\Service:
4+
public: true
45
autoconfigure: true
56
autowire: true
67

78
bundle.frontendpermissiontoolkit.service:
8-
alias: FrontendPermissionToolkitBundle\Service
9+
alias: FrontendPermissionToolkitBundle\Service

0 commit comments

Comments
 (0)