Skip to content

Commit

Permalink
Mention that lifecycle callbacks do not support Embeddables
Browse files Browse the repository at this point in the history
As discussed in doctrine#6855
  • Loading branch information
holtkamp authored May 18, 2018
1 parent 12b2857 commit df7c286
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/en/reference/events.rst
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,8 @@ a relevant lifecycle event. More than one callback can be defined for each
lifecycle event. Lifecycle Callbacks are best used for simple operations
specific to a particular entity class's lifecycle.

Note that Licecycle Callbacks can not be defined for Embeddables.

.. code-block:: php
<?php
Expand Down

0 comments on commit df7c286

Please sign in to comment.