$em = $this->getDoctrine()->getManager(‘member‘);//要记得写上member $repo = $em->getRepository(‘BaseMemberBundle:Member‘);
Unknown Entity namespace alias 'BaseMemberBundle'.
时间: 2024-10-10 17:58:32
$em = $this->getDoctrine()->getManager(‘member‘);//要记得写上member $repo = $em->getRepository(‘BaseMemberBundle:Member‘);
Unknown Entity namespace alias 'BaseMemberBundle'.