File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -73,6 +73,9 @@ security:
73
73
entity :
74
74
class : App\Entity\User
75
75
property : email
76
+ # document:
77
+ # class: App\Document\User
78
+ # property: email
76
79
77
80
firewalls :
78
81
dev :
Original file line number Diff line number Diff line change @@ -135,6 +135,9 @@ services:
135
135
bind :
136
136
$persistProcessor : ' @api_platform.doctrine.orm.state.persist_processor'
137
137
$removeProcessor : ' @api_platform.doctrine.orm.state.remove_processor'
138
+ # If you're using Doctrine MongoDB ODM, you can use the following code:
139
+ # $persistProcessor: '@api_platform.doctrine_mongodb.odm.state.persist_processor'
140
+ # $removeProcessor: '@api_platform.doctrine_mongodb.odm.state.remove_processor'
138
141
# Uncomment only if autoconfiguration is disabled
139
142
# arguments: ['@App\State\UserProcessor.inner']
140
143
# tags: [ 'api_platform.state_processor' ]
You can’t perform that action at this time.
0 commit comments