Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify docs for embedded and embeddable. #6778

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions docs/en/reference/annotations-reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -318,9 +318,9 @@ depending on whether the classes are in the namespace or not.
@Embeddable
~~~~~~~~~~~~~~~~~~~~~

The embeddable is required on an entity targeted to be embeddable inside
another. It works together with the :ref:`@Embedded <annref_embedded>`
annotation to establish the relationship between two entities.
The embeddable annotation is required on a class, in order to make it
embeddable inside an entity. It works together with the :ref:`@Embedded <annref_embedded>`
annotation to establish the relationship between the two classes.

.. code-block:: php

Expand All @@ -345,8 +345,8 @@ annotation to establish the relationship between two entities.
@Embedded
~~~~~~~~~~~~~~~~~~~~~

The embedded annotation is required on a member class varible targed to
embed it's class argument inside it's own class.
The embedded annotation is required on an entity's member variable,
in order to specify that it is an embedded class.

Required attributes:

Expand Down