Symfony 4 and Doctrine, how to generate repository automatically after mapping?

后端 未结 4 854
独厮守ぢ
独厮守ぢ 2020-12-05 15:24

All the tutorials I am finding have the repository created automatically using make:entity when creating new tables

but I have been importing from an ex

4条回答
  •  再見小時候
    2020-12-05 16:08

    Do not copy the annotation too fast, I copied the annotation, but in my case the entities were generated automatically, so there was already a line ORM\Repository, which appeared after, delete it or replace it with the solution

提交回复
热议问题