ninecompta/config/services.yaml

39 lines
1.1 KiB
YAML
Raw Normal View History

2024-10-28 14:10:30 +01:00
parameters:
2024-11-18 17:07:22 +01:00
appEnv: "%env(resolve:APP_ENV)%"
appSecret: "%env(resolve:APP_SECRET)%"
appName: "%env(resolve:APP_NAME)%"
2024-11-26 20:42:13 +01:00
appNoreply: "%env(resolve:APP_NOREPLY)%"
2024-12-26 17:45:58 +01:00
modeAuth: "%env(resolve:MODE_AUTH)%"
casHost: "%env(resolve:CAS_HOST)%"
casPort: "%env(resolve:CAS_PORT)%"
casPath: "%env(resolve:CAS_PATH)%"
casUsername: "%env(resolve:CAS_USERNAME)%"
casMail: "%env(resolve:CAS_MAIL)%"
casLastname: "%env(resolve:CAS_LASTNAME)%"
casFirstname: "%env(resolve:CAS_FIRSTNAME)%"
2024-10-28 14:10:30 +01:00
services:
2024-11-18 17:07:22 +01:00
_defaults:
autowire: true # Automatically injects dependencies in your services.
autoconfigure: true # Automatically registers your services as commands, event subscribers, etc.
2024-10-28 14:10:30 +01:00
2024-11-18 17:07:22 +01:00
App\:
resource: "../src/"
exclude:
- "../src/DependencyInjection/"
- "../src/Entity/"
- "../src/Kernel.php"
2024-10-28 14:10:30 +01:00
2024-11-20 17:09:09 +01:00
App\EventSubscriber\CompanySubscriber:
arguments:
$em: "@doctrine.orm.entity_manager"
tags:
- name: "doctrine.event_listener"
event: "postPersist"
2024-12-26 17:45:58 +01:00
entity: 'App\Entity\Company'
App\Security\DynamicAuthenticator:
arguments:
$modeAuth: '%env(MODE_AUTH)%'