Browse Source

update services

develop
Simon Vieille 1 month ago
parent
commit
674846ab53
Signed by: deblan
GPG Key ID: 579388D585F70417
  1. 11
      config/services.yaml

11
config/services.yaml

@ -11,22 +11,29 @@ services:
autowire: true # Automatically injects dependencies in your services.
autoconfigure: true # Automatically registers your services as commands, event subscribers, etc.
# makes classes in src/ available to be used as services
# this creates a service per class whose id is the fully-qualified class name
# Murph services
App\Core\:
resource: '../vendor/murph/murph-core/src/core/'
exclude:
- '../vendor/murph/murph-core/src/core/DependencyInjection/'
- '../vendor/murph/murph-core/src/core/Entity/'
# Redirections
App\Core\EventListener\RedirectListener:
tags:
- { name: kernel.event_listener, event: kernel.exception }
# Analytics
App\Core\EventListener\AnalyticListener:
tags:
- { name: kernel.event_listener, event: kernel.request }
# A/B Testing
App\Core\EventListener\AbListener:
tags:
- { name: kernel.event_listener, event: kernel.request }
- { name: kernel.event_listener, event: kernel.response }
App\:
resource: '../src/'
exclude:

Loading…
Cancel
Save