I just want to know what are the advantages / disadvantages of the bi-directional relationship in the Doctrine with Symfony?
All my relationships are bidirectional, but I'm not sure if this will not cause a problem ...
Thank.
As long as you donโt mark the relationship as EAGER, I think you are good. go.
EAGER
, PHP , , Proxy. , . () -, . .
PHP
Proxy
: , : " ?". , . , OneToMany ManyToOne, owning/inverse, WTF/:)
OneToMany
ManyToOne
owning
inverse
, ...