Skip to content

Commit

Permalink
docs(entity): move from core to symfony (#2097)
Browse files Browse the repository at this point in the history
  • Loading branch information
vinceAmstoutz authored Dec 9, 2024
1 parent 202036a commit 88fd117
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 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
2 changes: 1 addition & 1 deletion outline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ chapters:
- migrate-from-fosrestbundle
- fosuser-bundle
- nelmio-api-doc
- user
- title: "API Platform for Laravel"
path: laravel
items:
Expand Down Expand Up @@ -64,7 +65,6 @@ chapters:
- events
- file-upload
- jwt
- user
- form-data
- bootstrap
- configuration
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 88fd117

Please sign in to comment.