Skip to content

[Doctrine] update some doctrine documentation #17958

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

Merged

Conversation

MrYamous
Copy link
Contributor

Minor update for doctrine documentation :

  • Change code example for Entity generated with MakerBundle to use Doctrine's type constants
  • Replace ManagerRegistry in Controller with EntityManagerInterface

@javiereguiluz
Copy link
Member

I didn't know that this code was so outdated in the main Doctrine article. Matthieu, thanks a lot for reviewing and updating this.

@javiereguiluz javiereguiluz merged commit e0edc58 into symfony:6.2 Mar 2, 2023
@MrYamous MrYamous deleted the doctrine/some-update-for-doctrine-docs branch March 8, 2023 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants