From 3fc4cc4161dfe509e3c60955704d2b0405f4017f Mon Sep 17 00:00:00 2001 From: kconde2 <43377621+kconde2@users.noreply.github.com> Date: Mon, 26 Sep 2022 22:49:44 +0200 Subject: [PATCH] Update state-processors.md I got error using @api_platform.doctrine.orm.state.persist_processor because it doesn't exist --- 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 a9ea3a12012..f3b6aca6896 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.persist_processor' + $decorated: '@ApiPlatform\Doctrine\Common\State\PersistProcessor' # Uncomment only if autoconfiguration is disabled #arguments: ['@App\State\UserProcessor.inner'] #tags: [ 'api_platform.state_processor' ]