mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2026-01-15 22:01:23 +00:00
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.
This commit is contained in:
@@ -11,3 +11,6 @@ services:
|
||||
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'
|
||||
|
||||
Reference in New Issue
Block a user