Mention that Doctrine does not use Entities public API
This commit is contained in:
parent
01f89a8cdc
commit
b6d08b15c0
@ -25,6 +25,14 @@ Work that have not yet been persisted are lost.
|
||||
Not calling ``EntityManager#flush()`` will lead to all changes
|
||||
during that request being lost.
|
||||
|
||||
.. note::
|
||||
|
||||
Doctrine does NEVER touch the public API of methods in your entity
|
||||
classes (getters and setters).
|
||||
Instead, it uses reflection to set/get data from your objects.
|
||||
When Doctrine fetches data from DB and saves it back,
|
||||
any code put in your get/set methods won't be implicitly taken into account.
|
||||
|
||||
|
||||
Entities and the Identity Map
|
||||
-----------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user