Symfony 5 – How can I iterate over collection property of ORM PersistentCollection?

  arraycollection, php, symfony

I have a ORM Object with a ORM relation OneToMany, how can I iterate on ArrayCollection objects?

Click on the image…

Dump of object [image]

Thank you!

Source: Symfony Questions

LEAVE A COMMENT