Files
chill-bundles/config/services.yaml
Julien Fastré f60ef696de Inject NullProofValidator implementation for ProofValidatorInterface in the dev environment
- Added a service definition for `ChampsLibres\WopiLib\Contract\Service\ProofValidatorInterface` in `services.yaml` to use `Chill\WopiBundle\Service\Wopi\NullProofValidator` exclusively in the dev environment.
2025-12-11 13:49:45 +01:00

17 lines
750 B
YAML

# This file is the entry point to configure your own services.
# Files in the packages/ subdirectory configure your dependencies.
# Put parameters here that don't need to change on each machine where the app is deployed
# https://symfony.com/doc/current/best_practices.html#use-parameters-for-application-configuration
parameters:
services:
# default configuration for services in *this* file
_defaults:
autowire: true # Automatically injects dependencies in your services.
autoconfigure: true # Automatically registers your services as commands, event subscribers, etc.
when@dev:
services:
ChampsLibres\WopiLib\Contract\Service\ProofValidatorInterface: '@Chill\WopiBundle\Service\Wopi\NullProofValidator'