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