1
0
mirror of synced 2025-01-31 20:41:44 +03:00

Added info about automatic discriminator map

see https://github.com/doctrine/doctrine2/blob/master/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php#L257
This commit is contained in:
Klein Thomas 2014-03-11 09:54:46 +01:00
parent f197a9c9f1
commit 832127a0d6

View File

@ -123,6 +123,9 @@ Things to note:
be fully qualified if the classes are contained in the same be fully qualified if the classes are contained in the same
namespace as the entity class on which the discriminator map is namespace as the entity class on which the discriminator map is
applied. applied.
- If no discriminator map is provided, then the map is generated
automatically. The automatically generated discriminator map
contains the lowercase short name of each class as key.
Design-time considerations Design-time considerations
~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~
@ -210,6 +213,9 @@ Things to note:
be fully qualified if the classes are contained in the same be fully qualified if the classes are contained in the same
namespace as the entity class on which the discriminator map is namespace as the entity class on which the discriminator map is
applied. applied.
- If no discriminator map is provided, then the map is generated
automatically. The automatically generated discriminator map
contains the lowercase short name of each class as key.
.. note:: .. note::