From 191feec6f7b00062ddb03d2fe3b0e1509c184609 Mon Sep 17 00:00:00 2001 From: Alan Poulain Date: Tue, 2 Aug 2022 16:38:48 +0200 Subject: [PATCH] fix: use the alias for the decorated state processor --- core/state-processors.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/state-processors.md b/core/state-processors.md index 96b623b70e6..a9ea3a12012 100644 --- a/core/state-processors.md +++ b/core/state-processors.md @@ -132,7 +132,7 @@ services: # ... App\State\UserProcessor: bind: - $decorated: '@api_platform.doctrine.orm.state_processor' + $decorated: '@api_platform.doctrine.orm.state.persist_processor' # Uncomment only if autoconfiguration is disabled #arguments: ['@App\State\UserProcessor.inner'] #tags: [ 'api_platform.state_processor' ]