You've already forked symfony-notifications
rename to notifications
This commit is contained in:
3
NotificationsBundle/Resources/config/routes.yaml
Normal file
3
NotificationsBundle/Resources/config/routes.yaml
Normal file
@@ -0,0 +1,3 @@
|
||||
bluesquare_notifications_bundle_notifications:
|
||||
path: /test-notifs
|
||||
controller: Bluesquare\NotificationsBundle\Controller\MainController::index
|
||||
16
NotificationsBundle/Resources/config/services.yaml
Normal file
16
NotificationsBundle/Resources/config/services.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
services:
|
||||
# Si on a des repositories...
|
||||
Bluesquare\NotificationsBundle\Repository\:
|
||||
resource: '../../Repository'
|
||||
autowire: true
|
||||
tags: ['doctrine.repository_service']
|
||||
|
||||
# Services : alias
|
||||
Bluesquare\NotificationsBundle\Service\FooService: '@bluesquare.notifications_bundle.foo'
|
||||
|
||||
# Services : params
|
||||
bluesquare.notifications_bundle.foo:
|
||||
class: Bluesquare\NotificationsBundle\Service\FooService
|
||||
autowire: true
|
||||
public: true
|
||||
arguments: ['@request_stack']
|
||||
Reference in New Issue
Block a user