add Moderation.php (#14)

Co-authored-by: bastien <bastien.ollier1@gmail.com>
Co-authored-by: clfreville2 <clement.freville2@etu.uca.fr>
Reviewed-on: https://codefirst.iut.uca.fr/git/clement.freville2/herbarium/pulls/14
Reviewed-by: Clément FRÉVILLE <clement.freville2@etu.uca.fr>
This commit is contained in:
Bastien OLLIER
2024-06-13 08:08:46 +02:00
parent 6a6a135891
commit ccb2b541ea
9 changed files with 128 additions and 1 deletions

View File

@@ -26,5 +26,11 @@ services:
bind:
$processor: '@api_platform.doctrine.orm.state.persist_processor'
App\Service\ImageSafetyServiceInterface: '@App\Service\DummyImageSafetyService'
# add more service definitions when explicit configuration is needed
# please note that last definitions always *replace* previous ones
when@prod:
services:
App\Service\ImageSafetyServiceInterface: '@App\Service\SightEngineImageSafetyService'