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' ]