草庐IT

getJoinTableName

全部标签

php - Symfony/Doctrine : getJoinTableName() must be of the type array, 给定为空

我有这2个类,它们之间有ManyToMany关联:Nursery.phpnamespaceVS\CrmBundle\Entity;useDoctrine\Common\Collections\ArrayCollection;useDoctrine\ORM\MappingasORM;/***Nursery**@ORM\Table(name="Nursery")*@ORM\Entity(repositoryClass="VS\CrmBundle\Repository\NurseryRepository")*/classNursery{/***@varint**@ORM\Column(nam