Skip to content

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