Symfony 3.2 A circular reference has been detected (configured limit: 1)
问题 I have this two entities in my project class PoliceGroupe { /** * @var int * * @ORM\Column(name="id", type="integer") * @ORM\Id * @ORM\GeneratedValue(strategy="AUTO") */ private $id; /** * @var string * * @ORM\Column(name="code", type="string", length=50) */ private $code; /** * @ORM\ManyToMany(targetEntity="PointVente", inversedBy="policegroupe") * @ORM\JoinTable(name="police_groupe_point_vente", * joinColumns={@ORM\JoinColumn(name="police_groupe_id", referencedColumnName="id")}, *