Describe entities as API Platform resources
This commit is contained in:
@@ -20,5 +20,9 @@ services:
|
||||
- '../src/Entity/'
|
||||
- '../src/Kernel.php'
|
||||
|
||||
App\State\UserPasswordHasher:
|
||||
bind:
|
||||
$processor: '@api_platform.doctrine.orm.state.persist_processor'
|
||||
|
||||
# add more service definitions when explicit configuration is needed
|
||||
# please note that last definitions always *replace* previous ones
|
||||
|
Reference in New Issue
Block a user