symfony-notifications/NotificationsBundle/Resources/config/services.yaml

16 lines
534 B
YAML
Raw Normal View History

2019-03-01 12:49:26 +01:00
services:
# Si on a des repositories...
Bluesquare\NotificationsBundle\Repository\:
resource: '../../Repository'
autowire: true
tags: ['doctrine.repository_service']
# Services : alias
2019-03-01 13:12:17 +01:00
Bluesquare\NotificationsBundle\Service\NotificationsService: '@bluesquare.notifications_bundle.notifssrv'
2019-03-01 12:49:26 +01:00
# Services : params
2019-03-01 13:12:17 +01:00
bluesquare.notifications_bundle.notifssrv:
class: Bluesquare\NotificationsBundle\Service\NotificationsService
2019-03-01 12:49:26 +01:00
autowire: true
public: true
2019-03-01 13:12:17 +01:00
arguments: ['@doctrine.orm.entity_manager']