skip to Main Content

Php – Doctrine detach

I don't understand how detach() works.. This is a use case: /** * @ORMEntity(repositoryClass="UsersRepository") * @ORMTable(name="users") */ class Users { // .... /** * @ORMManyToOne(targetEntity="AppEntityParentType") * @ORMJoinColumn(name="ID_PARENT_TYPE", referencedColumnName="ID_PARENT_TYPE") * private ParentType $parentType; } /** * @ORMEntity(repositoryClass="CustomInfoRepository") * @ORMTable(name="custom_info") */ class…

VIEW QUESTION
Back To Top
Search