Skip to content

Commit

Permalink
docs(entity): move from core to symfony
Browse files Browse the repository at this point in the history
  • Loading branch information
vinceAmstoutz committed Dec 9, 2024
1 parent 22d10d4 commit c5b9ac7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion core/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Here is the fully featured REST API you'll get in minutes:
- Advanced [serialization](serialization.md) thanks to the Symfony Serializer Component (groups support, relation embedding, max depth...)
- Automatic route registration
- Automatic entry point generation giving access to all resources
- [User](user.md) support
- [User Management using Symfony](../symfony/user.md)
- [JWT](jwt.md) and [OAuth](https://oauth.net/) support
- Files and `\DateTime` and serialization and deserialization

Expand Down
4 changes: 2 additions & 2 deletions core/user.md → symfony/user.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# User Entity
# User Entity with Symfony

This documentation is based on the [official Symfony Documentation](https://symfony.com/doc/current/security/user_providers.html) with some API Platform integrations.

Expand Down Expand Up @@ -219,7 +219,7 @@ class UserRepository extends ServiceEntityRepository implements PasswordUpgrader
## Creating and Updating User Password

There's no built-in way for hashing the plain password on `POST`, `PUT` or `PATCH`.
Happily you can use the API Platform [state processors](state-processors.md) for auto-hashing plain passwords.
Happily you can use the API Platform [state processors](../core/state-processors.md) for auto-hashing plain passwords.

First create a new state processor:

Expand Down

0 comments on commit c5b9ac7

Please sign in to comment.