Skip to content

Commit 13edbcc

Browse files
committed
Removed some duplicated Livecycle docs
The list is also included in the doctrine docs. There is no need to duplicate that in the sf docs. And if it's usefull, it certainly isn't when there is no more documentation about their meaning.
1 parent 22bb029 commit 13edbcc

File tree

1 file changed

+3
-15
lines changed

1 file changed

+3
-15
lines changed

book/doctrine.rst

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1265,7 +1265,7 @@ stages of the lifecycle of an entity (e.g. the entity is inserted, updated,
12651265
deleted, etc).
12661266

12671267
If you're using annotations for your metadata, start by enabling the lifecycle
1268-
callbacks. This is not necessary if you're using YAML or XML for your mapping:
1268+
callbacks. This is not necessary if you're using YAML or XML for your mapping.
12691269

12701270
.. code-block:: php-annotations
12711271
@@ -1328,20 +1328,8 @@ the current date, only when the entity is first persisted (i.e. inserted):
13281328

13291329
Now, right before the entity is first persisted, Doctrine will automatically
13301330
call this method and the ``createdAt`` field will be set to the current date.
1331-
1332-
This can be repeated for any of the other lifecycle events, which include:
1333-
1334-
* ``preRemove``
1335-
* ``postRemove``
1336-
* ``prePersist``
1337-
* ``postPersist``
1338-
* ``preUpdate``
1339-
* ``postUpdate``
1340-
* ``postLoad``
1341-
* ``loadClassMetadata``
1342-
1343-
For more information on what these lifecycle events mean and lifecycle callbacks
1344-
in general, see Doctrine's `Lifecycle Events documentation`_
1331+
For more information on other lifecycle events and lifecycle callbacks in
1332+
general, see Doctrine's `Lifecycle Events documentation`_.
13451333

13461334
.. sidebar:: Lifecycle Callbacks and Event Listeners
13471335

0 commit comments

Comments
 (0)