This commit is contained in:
PaulCombal
2019-03-01 13:12:17 +01:00
parent d8e915d759
commit 3b9c194e51
5 changed files with 28 additions and 29 deletions

View File

@@ -6,11 +6,11 @@ services:
tags: ['doctrine.repository_service']
# Services : alias
Bluesquare\NotificationsBundle\Service\FooService: '@bluesquare.notifications_bundle.foo'
Bluesquare\NotificationsBundle\Service\NotificationsService: '@bluesquare.notifications_bundle.notifssrv'
# Services : params
bluesquare.notifications_bundle.foo:
class: Bluesquare\NotificationsBundle\Service\FooService
bluesquare.notifications_bundle.notifssrv:
class: Bluesquare\NotificationsBundle\Service\NotificationsService
autowire: true
public: true
arguments: ['@request_stack']
arguments: ['@doctrine.orm.entity_manager']