API updadte

This commit is contained in:
2025-11-09 11:12:48 +01:00
parent 7548e241be
commit 77206224a2
14 changed files with 1048 additions and 57 deletions

View File

@@ -37,6 +37,13 @@ security:
main:
lazy: true
provider: app_user_provider
form_login:
login_path: app_login
check_path: app_login
default_target_path: app_home
logout:
path: app_logout
target: app_home
# Easy way to control access for large sections of your site
# Note: Only the *first* access control that matches will be used

View File

@@ -15,6 +15,20 @@ services:
# this creates a service per class whose id is the fully-qualified class name
App\:
resource: '../src/'
exclude:
- '../src/Entity/'
- '../src/Repository/'
- '../src/Kernel.php'
# controllers are imported separately to make sure services can be injected
# as action arguments even if you don't extend any base controller class
App\Controller\:
resource: '../src/Controller/'
tags: ['controller.service_arguments']
# Explicitly register repositories
App\Repository\:
resource: '../src/Repository/'
# add more service definitions when explicit configuration is needed
# please note that last definitions always *replace* previous ones