INVALID MODE : s5a869f19a6c57_equivalents - type : sonata_type_collection - mapping :
问题 I am building a new feature onto a Symfony 2.8 application using a few Sonata bundles. My Page.php entity definition includes the following mapping: /** * @var ArrayCollection * * @ORM\ManyToMany(targetEntity="AppBundle\Entity\Equivalent", cascade={"all"}) * @ORM\JoinTable(name="page_equivalent", * joinColumns={@ORM\JoinColumn(name="page_id", referencedColumnName="id")}, * inverseJoinColumns={@ORM\JoinColumn(name="equivalent_id", referencedColumnName="id", unique=true)} * ) */ private