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:
parent
f197a9c9f1
commit
832127a0d6
@ -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::
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user