1
0
mirror of synced 2025-02-02 13:31:45 +03:00

Add info about Doctrine not using constructor

This commit is contained in:
Jarek Jakubowski 2018-06-08 20:29:37 +02:00 committed by GitHub
parent b6d08b15c0
commit 6b7d67b427
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,7 +28,7 @@ Work that have not yet been persisted are lost.
.. note::
Doctrine does NEVER touch the public API of methods in your entity
classes (getters and setters).
classes (like getters and setters) nor the constructor method.
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.