search

Home  >  Q&A  >  body text

php framework - Symfony2 about reposytory issues

When using the app/console generate:doctrine:entities command. The corresponding Repository file was not generated, but the corresponding attachment was generated in the Entity folder~. How to solve this?

迷茫迷茫2789 days ago402

reply all(2)I'll reply

  • 仅有的幸福

    仅有的幸福2017-05-16 16:46:23

    Check if this is the problem
    http://segmentfault.net/q/1010000002532334/a-1020000002532735

    reply
    0
  • 漂亮男人

    漂亮男人2017-05-16 16:46:23

    Are you sure you specified repositoryClass in Entity?

    @ORM\Entity(repositoryClass="AppBundle\Repository\EntityNameRepository")

    reply
    0
  • Cancelreply