Clarify docs for embedded and embeddable.
This commit is contained in:
parent
e279dfaa91
commit
0bea6881da
@ -318,9 +318,9 @@ depending on whether the classes are in the namespace or not.
|
|||||||
@Embeddable
|
@Embeddable
|
||||||
~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
The embeddable is required on an entity targeted to be embeddable inside
|
The embeddable annotation is required on a class, in order to make it
|
||||||
another. It works together with the :ref:`@Embedded <annref_embedded>`
|
embeddable inside an entity. It works together with the :ref:`@Embedded <annref_embedded>`
|
||||||
annotation to establish the relationship between two entities.
|
annotation to establish the relationship between the two classes.
|
||||||
|
|
||||||
.. code-block:: php
|
.. code-block:: php
|
||||||
|
|
||||||
@ -345,8 +345,8 @@ annotation to establish the relationship between two entities.
|
|||||||
@Embedded
|
@Embedded
|
||||||
~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
The embedded annotation is required on a member class varible targed to
|
The embedded annotation is required on an entity's member variable,
|
||||||
embed it's class argument inside it's own class.
|
in order to specify that it is an embedded class.
|
||||||
|
|
||||||
Required attributes:
|
Required attributes:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user