Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(entity): move from core to symfony #2097

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading