Doctrine and LIKE query

后端 未结 5 1813
滥情空心
滥情空心 2021-02-06 20:44

I have entity for Doctrine:



        
5条回答
  •  花落未央
    2021-02-06 21:06

    Actually you just need to tell doctrine who's your repository class, if you don't, doctrine uses default repo instead of yours.

    @ORM\Entity(repositoryClass="Company\NameOfBundle\Repository\NameOfRepository")

提交回复
热议问题