Skip to content

[Doctrine] Add remove entity repository class from entity annotation #1660

@TomasVotruba

Description

@TomasVotruba

This could cause circular loop otherwise

 /**
- * @ORM\Entity(repositoryClass="...")
+ * @ORM\Entity()
  */

Also update the post:
https://www.tomasvotruba.cz/blog/2018/04/02/rectify-turn-repositories-to-services-in-symfony/

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions